Displaying 1 result from an estimated 1 matches for "spmx".
Did you mean:
spdx
2010 Jan 29
1
SemiPar/spm question
...200,10,5)))
#this works
d_ply(data, c("id"), function(x) {
print(lm("lhs~value", data=x))
})
#this works
data111 <- data[data$id=="111",]
print(spm(data111$value ~ f(1:nrow(data111))))
#this does not work
d_ply(data, c("id"), function(x) {
print(spmx <- spm(x$value ~ f(1:nrow(x))))
})