Skip to content
Back to formatted view

Raw Message

Message-ID: <3EB9286C.5090806@statistik.uni-dortmund.de>
Date: 2003-05-07T15:38:20Z
From: Uwe Ligges
Subject: levels
In-Reply-To: <6C9A2D9477234140A56E9D1B073B28E901DB62@gitmanex01.git.generali.ch>

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