Displaying 2 results from an estimated 2 matches for "pcycl".
Did you mean:
pcycle
2010 Feb 16
3
error : unused argument(s) when boxplot
Dear all,
I am a total beginner in R, so sorry if this is the wrong place. I am using R 2.10.1 on a Mac (Mac OS 10.6.2).
I have this small dataset :
growth sugar
75 C
72 C
73 C
61 F
67 F
64 F
62 S
63 S
I have no problem reading the table, or getting the summary, but if I try boxplot(growth~sugar, ylab="growth", xlab="sugar", data=Dataset), I have the following error :
2006 Nov 12
2
Unexpected behavior in boxplot
...e boxplot are being changes.
Example:
par(mfrow=c(2,1))
boxplot(c(rnorm(10), 10), horizontal=TRUE, main="Test", las=2, cex.axis=2)
boxplot(c(rnorm(10), 10), horizontal=TRUE, main="Test", las=2, cex.axis=1)
This is from the following line in bxp()
outcex <- pcycle(pars$outcex, pars$cex, par("cex"))
Where pars$cex is matching pars$cex.axis. This would also effect other
parameter specifications.
This is a behavior I did not expect; I'm not sure if this is a design
feature or something else.
--Matt
Matt Austin
Statistician
Amgen, In...