vectors am using this type of error

x <- C(1.5,2.5,3.5,4.5,5.5)
Error in C(1.5, 2.5, 3.5, 4.5, 5.5) :
object not interpretable as a factor

[1] 1

c() should be lower case:

x <- c(1.5,2.5,3.5,4.5,5.5)

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.