Displaying 1 result from an estimated 1 matches for "rgoalcom".
Did you mean:
realcom
2010 Mar 16
2
Missing index in vector assignment
...x and y don't match.
and I suspect that it might be due to missing index in the y variable which
I defined as:
y <- (LVvar[,1])
I tried various methods to make the y assignment in the same format as x,
which is a dataframe
x <- (LVvar[,-1])
and looks like
x
rCoordCap rKnowGrow rGoalcom rSupport rOpcomm rT2Cadap
1 4.979167 4.500000 5.812500 6.145833 5.979167 5.031250
...
but I still get y without the indexes as a vector:
y
[1] -1.00000000 -6.91193182 -1.00000000 0.74431818 -6.91193182
Why are the results different for x and y, even though the assignment is the
same
excep...