David Winsemius <dwinsemius <at> comcast.net> writes: > > > I think you need to understand indexing more than you need to > understand factors. > > incomes [ which(statef == "act") ] > > If you want to understand how to programmatically access levels, then > you only need to follow the "See also" links on the ?factor page. >
Thanks David! Your information has been very useful. --Sergio. ______________________________________________ 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.