[R] Trying to understand factors

Julio Sergio juliosergio at gmail.com
Fri Mar 30 19:26:18 CEST 2012


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.



More information about the R-help mailing list