Displaying 1 result from an estimated 1 matches for "mycld".
Did you mean:
mycd
2014 Sep 12
0
Compatibility issues between Matrix and kml
...package Matrix, and then kml works fine.
I wonder what my code is not compatible with the Matrix package. Here is a
(simplified) version of the kml code :
--- 8< ------------
library(longitudinalData)
setClass(Class="CLD", contains=c("LongData","ListPartition"))
myCld <- new("CLD",
idAll=as.character(c(100,102,103,109,115,123)),
idFewNA=as.character(c(100,102,103,109,115,123)),
time=c(1,2,4,8,15), varNames="P",
traj=matrix(c(1,2,3,1,4, 3,6,1,8,10, 1,2,1,3,2, 4,2,5,6,3,
4,3,4,4,4, 7,6,5,5,4),6),
dimTr...