boxplot is an (S3) generic function: ?UseMethod 1. Uses the default method.
2. Uses the formula method, since biomass~clipping is a formula: ?"~" ; ?formula; ?boxplot. See also an Introduction to R where these matters are also explained. -- Bert Gunter, Genentech -----Original Message----- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Petter Hedberg Sent: Thursday, February 12, 2009 6:45 AM To: r-help@r-project.org Subject: [R] Tilde in boxplots Best contributors to the R-project. I have noticed that when using boxplot diagrams, R interprets the following two inputs very differently. 1: boxplot(biomass,clipping) 2:boxplot(biomass~clipping) What is the significance of tilde in the boxplot graph. I have not found it as one of the arguments when using the help function ?boxplot. Thankful for any help with this. Best regards, Petter Hedberg, University of Warsaw ______________________________________________ R-help@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. ______________________________________________ R-help@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.