[R] error : unused argument(s) when boxplot
Uwe Ligges
ligges at statistik.tu-dortmund.de
Tue Feb 16 16:18:15 CET 2010
On 16.02.2010 15:18, Pauline Haleux (JIC) wrote:
> 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).
Works for me given Dataset is a data.frame with columns called growth
and sugar. Probaly you had some issue with importing the data correctly.
Uwe Ligges
> Any suggestions ?
>
> 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