[R] subset question

Richard M. Heiberger rmh at temple.edu
Thu Dec 14 07:27:23 CET 2006


help("[.factor")


a <- factor(letters[1:5])
a
a[1:3]
a[1:3, drop=T]



More information about the R-help mailing list