[R] R Graphical parameters

Metcalfe, John John.Metcalfe at ucsf.edu
Wed Dec 10 05:09:34 CET 2008


Dr. Ripley,
Thanks much for your reply. I've attached a representative sample; I apologize for not including this with my previous email.
Best,
John
 
John Z. Metcalfe, M.D., M.P.H. 
Division of Pulmonary and Critical Care Medicine 
University of California, San Francisco
San Francisco General Hospital

________________________________

From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
Sent: Tue 12/9/2008 10:21 AM
To: Metcalfe, John
Cc: r-help at r-project.org
Subject: Re: [R] R Graphics Device margins



Without the reproducible example asked for it is hard to tell, but
?text.rpart did say

      ...: Graphical parameters may also be supplied as arguments to
           this function (see 'par').  As labels often extend outside
           the plot region it can be helpful to specify 'xpd = TRUE'.

Might that be the issue (rather than your subject line)?

On Tue, 9 Dec 2008, Metcalfe, John wrote:

> Hello,

> I am relatively new to R and am using it to run Classification and
> Regression Tree analysis. My only issue at this point is that numbers
> are always cut off on the lower nodes. I've tried changing the margins
> with
>
> mai=c(0, 0.5, 0.5, 0) but this has not so far worked.
>
> Any suggestions would be appreciated.
>
> Best,
>
> John Z. Metcalfe, M.D., M.P.H.
> Division of Pulmonary and Critical Care Medicine
> University of California, San Francisco
> San Francisco General Hospital
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

--
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




More information about the R-help mailing list