[R] Odp: error : unused argument(s) when boxplot

Petr PIKAL petr.pikal at precheza.cz
Tue Feb 16 16:57:29 CET 2010


Hi

r-help-bounces at r-project.org napsal dne 16.02.2010 15:18:21:

> 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 : ERROR:  unused argument(s) (sugar).
> 
> Any suggestions ?

What does str(Dataset) tell you about your data?

Petr


> 
> Thanks a lot,
> 
> PH
> ______________________________________________
> 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.



More information about the R-help mailing list