I am trying to use the unfold
function from package RcmdrPlugin.survival
.
I used the following command:
long.df <- unfold(testdf,time="deathint", event="death",
cov=list(31:70,71:110), cov.names=c("adopted","age"))
However, R is returning the following error message:
Error in structure(.External(.C_dotTcl, ...), class = "tclObj") : [tcl] wrong # args: should be "winfo rootx window".
I am using R version 3.2.4. Any suggestions?