search for: repeatdata

Displaying 2 results from an estimated 2 matches for "repeatdata".

2012 Mar 29
1
abline with xyplot does not work
...or in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) : (list) object cannot be coerced to type 'double' Any ideas what I need to change to make this work? > # Run random effects regression with subject specific slopes. > fitxx<-lme(value~time,random=~1|subject,data=repeatdata,na.action=na.omit) > summary(fitxx) Linear mixed-effects model fit by REML Data: repeatdata AIC BIC logLik 303.4246 309.6460 -147.7123 Random effects: Formula: ~1 | subject (Intercept) Residual StdDev: 15.17196 9.803319 Fixed effects: value ~ time...
2012 Dec 04
6
Help for a function
Hello all, I need a help. I am modeling a disease and a create a R function like that: Lambda<-function (x,date1,r,h,a){ ndate1 <- as.Date(date1, "%d/%m/%Y") t1 <- as.numeric(ndate1) x[order(x$i),] t <-x[,"t"] i <-x[,"i"] CONTAGIEUX <-x[,"CONTAGIEUX"] while ( t1 < min(t) ){ for (i in 1:length(i) ){ {for (j in