[R] store levels in a string

Daniele Medri dmedri at gmail.com
Tue Apr 18 18:07:28 CEST 2006


Il giorno mar, 18/04/2006 alle 11.00 -0500, Marc Schwartz (via MN):
> > mylevels<- ...a string with all the levels(af)
> > mylevels <- levels(af)
> 
> > mylevels
> [1] "a" "b"

I don't need to store these two levels, but a string with the values
"ab".

Thanks

Cheers
--
DM




More information about the R-help mailing list