[R] levels

Uwe Ligges
Wed, 07 May 2003 15:38:20 -0000

De Amicis Fabrizio (G.I.T.) wrote:
> Hello,
>
> Thanks to all for the previus answer. I want to be more detailed:
>
> I have a dataset called gm20011231 with 1304 observations (or records).
>
> I want to create a subset with the followin command
>
> j2<-gm20011231[1:10,"V4"]
>
> the levels of "V4"  is 1304 and the and the length(j2) is 10.
>
> Do you know how to obtain a j2 with level 10?
>
> Thank you
> Fabrizio


I don't know why you are going to do that, but you can change the levels
  with level(), see ?level for details.

Uwe Ligges