[R] horizontal boxplot + xlim

Richard.Cotton at hsl.gov.uk Richard.Cotton at hsl.gov.uk
Mon Oct 6 16:18:39 CEST 2008


> I get a strange behaviour of a boxplot with the following code. 
> There seems to 
> be a problem with the xlim-parameter. Did I do anything wrong? What 
> else can I 
> do to force the boxplot to have a defined x-range?
> 
> x <- rnorm(100)
> boxplot(x, notch=TRUE, xlab=parameter, xlim <- c(-4,4), horizontal = 
TRUE)

Did you mean xlim = c(-4,4) in that statement, rather than '<-'?

Regards,
Richie.

Mathematical Sciences Unit
HSL


------------------------------------------------------------------------
ATTENTION:

This message contains privileged and confidential inform...{{dropped:20}}



More information about the R-help mailing list