On 15/03/11 05:17, Joshua Wiley wrote:
Hi Laura,?is.vector
Consider methods::is if you might ever use attributes: x<- 1:10 is.vector(x) # [1] TRUE comment(x)<- "Mine!" is.vector(x) # [1] FALSE is(x, "vector") # [1] TRUE Allan ______________________________________________ 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.