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
---------------------------------------------------------------
Fabrizio De Amicis
IT Department
Generali Information Technologies - (GIT)
Centro Galleria 2,
Via Cantonale
CH - 6928 Manno - Switzerland
Tel +41 91 806 6220
Fax +41 91 806 6298
E-mail: fabrizio.deamicis at git.generali.ch
************************************************************************
The information in this email is confidential and may be legally... {{dropped}}
levels
2 messages · De Amicis Fabrizio (G.I.T.), Uwe Ligges
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