Displaying 1 result from an estimated 1 matches for "prefdata".
Did you mean:
refdata
2012 Apr 12
1
R error message
...constant. Constants are disallowed as
part of a scale."
when I turn the data into a matrix and look at the stats. I've been
told that this means one of the variables doesn't vary much any more,
but I am really stuck on how to sort this out. The code I have used is
> summary(prefdata)
> prefdata[prefdata>5]=NA
> summary(prefdata)
> prefdata2=as.matrix(prefdata[3:22])
> stats=paf(prefdata2)
[1] "One of your variables is a constant. Constants are disallowed as
part of a scale."
Any help would be greatly appreciated, a few of us are stuck with this
an...