On Thu, 29 Apr 2004, Rob Kamstra wrote:
> I am using the RPART library to find patterns in HIV mutations regarding
> drug-resistancy.
> My data consists of aminoacid at certain locations and two classes
resistant
> and susceptible.
>
> The classification and pruning work fine with Rpart. however there is a
> problem with displaying the data as a tree in the display window.
>
> in the display window the data contain only levels at the splits example:
> (abcde) left (fg) right. but i would like to have the aminoacids displayed.
> how can this be achieved ?
By reading the documentation, as suggested in
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
specifically by ?text.rpart, since that has an argument `pretty' to
control this.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595