Looks like a problem with the cov.names argument, not cov. Can you make a stand-alone example showing the error?
Allan. On 29/06/09 14:31, Jenkins, Helen wrote: > The error message when I use list is: > " s.matrix(!is.na(new.data[, cov.names])) : > invalid subscript type 'list'" > [...] > [[alternative HTML version deleted]] ______________________________________________ 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.