Error in conjoint analysis

Hello everyone, I'm trying to do the conjoint analysis.
This is my script:

library(conjoint)
preferences=read.csv(file.choose())
profiles=read.csv(file.choose())
levels=read.csv(file.choose())
print(preferences)
print (profiles)
print (levels)
Conjoint(y=preferences,x=profiles,z=levels)
Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) :
NA/NaN/Inf in 'y'
In addition: Warning message:
In storage.mode(v) <- "double" : NA introduced by coercion

What I have to do?

Hello.
Thanks for providing code , but you could take further steps to make it more convenient for other forum users to help you.

Share some representative data that will enable your code to run and show the problematic behaviour.

You might use tools such as the library datapasta, or the base function dput() to share a portion of data in code form, i.e. that can be copied from forum and pasted to R session.

Reprex Guide

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.