Please could I have someone's views on the mixAK package getProfiles fn?
n <- 6
dat <- data.frame(id=rep((1:n), n/2), y = rnorm(n),
group=rep(LETTERS[1:2], n/2),
day=1:18,
x=rnorm(n))
library(mixAK)
ip <- getProfiles(t = "day", y = c("y", "x"), id = "id", data = dat)
ip
That doesnt seem right? Similar to the bug in a previous stackoverflow here: mixAK getProfiles bug?