The error message when I use list is: " s.matrix(!is.na(new.data[, cov.names])) : invalid subscript type 'list'"
**PLEASE NOTE MY EMAIL ADDRESS HAS CHANGED TO h.jenkin...@imperial.ac.uk** Helen Jenkins Dept of Infectious Disease Epidemiology Imperial College, London St Mary's Campus Norfolk Place London W2 1PG Tel: +44 (0)20 7594 3265 Email: h.jenkin...@imperial.ac.uk Website: http://www1.imperial.ac.uk/medicine/people/h.jenkins/ -----Original Message----- From: Allan Engelhardt [mailto:all...@cybaea.com] Sent: 29 June 2009 14:20 To: Jenkins, Helen Cc: 'r-help@r-project.org' Subject: Re: [R] Fold function with several time varying covariates On 28/06/09 18:02, Jenkins, Helen wrote: > But this just gives me an error message. > What error message? ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.