search for: mean_rating

Displaying 1 result from an estimated 1 matches for "mean_rating".

2011 Oct 16
2
question: ragged array
Hello, I have a big problem which I’m just not able to solve. I created the following mean value from the following dataset structure: Id |value 1 | 2 1 | 3 1 | 4 2 | 2 2 | 1 3 | 5 4 | 3 etc.|etc. with the command: mean_rating <- tapply(ratok$value, ratok$project_id , mean,simplify = FALSE) this gives me a ragged array: > mean_rating [1] $`14` ###########==project_id [1] 3.933333 #######==mean value > dim (mean_rating) [1] 2214 I want to separate now the project_id from the mean value. So that I...