search for: perus2_trans

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

2010 Mar 25
1
Problem with reshaping data from wide to long format
...quot;height2", "height3", "weight1", "weight2", "weight3", "sp", "bmi1", "bmi2", "bmi3", "spf"), row.names = c(NA, -50L), class = "data.frame") > I'm doing this but I get an error: > perus2_trans <- reshape(perus2, varying = list(c("height1", "height2", "height3"), + c("weight1", "weight2", "weight3"), + c("bmi1", "bmi2", "bmi3")), +...