Displaying 1 result from an estimated 1 matches for "projok".
2011 Oct 16
2
question: ragged array
..._rating)
[1] 2214
I want to separate now the project_id from the mean value. So that I have
two separate columns (2 dimension).
How can I separate a ragged array into two variables?
*Additional information:*
I need this information to put the mean value into another dataset
(“projok”) at the correct project_id.
I would do that as follow:
k=projok[,1]
for(i in 1:2442) {
projLineNb = which(mean_rating$project_id==k[i])
projok$mean[i] = mean_rating$value[projLineNb]
}
But with a ragged array I can not refer to project_id. Or is there a...