[R] Tree question with ordinal IV and split labels

Peter Flom flom at ndri.org
Fri Jul 18 21:20:54 CEST 2003


Hi

I have a tree, created in rpart.  One of the IVs is an ordinal
variable.  I would like to get the splits labeled with the LEVELS of
this factor, rather than a,b,c, and d.  

Is there a way to do this?

Thanks in advance



Peter L. Flom, PhD
Assistant Director, Statistics and Data Analysis Core
Center for Drug Use and HIV Research
National Development and Research Institutes
71 W. 23rd St
www.peterflom.com
New York, NY 10010
(212) 845-4485 (voice)
(917) 438-0894 (fax)




More information about the R-help mailing list