Displaying 1 result from an estimated 1 matches for "clusterlongdata".
Did you mean:
clusterizlongdata
2015 May 26
0
Compatibility issue between lme4 and kml (operateur "[")
...correct that?
Thanks for your help
Christophe
--- 8< ----------------- Code for reproductible example -------------------
library(kml)
dn <- gald(1)
dn["traj"]
library(lme4)
dn["traj"]
setMethod( ### Simplified version ###
"[",
signature=signature(x="ClusterLongData", i="character",
j="ANY",drop="ANY"),
definition=function (x, i, j="missing", ..., drop = TRUE){
x <- as(x, "LongData")
return(x[i, j])
}
)
dn["traj"]
dn["traj"]
--- 8< ----------------- Execution of...