[R] Make a box-whiskers plot in R with 5 variables, color coded.

peter dalgaard pdalgd at gmail.com
Wed Dec 16 23:28:44 CET 2015


> On 16 Dec 2015, at 17:42 , Hadley Wickham <h.wickham at gmail.com> wrote:
> 
> On Wed, Dec 16, 2015 at 9:34 AM, Hadley Wickham <h.wickham at gmail.com> wrote:
>> On Tue, Dec 15, 2015 at 9:55 AM, Martin Maechler
>> <maechler at stat.math.ethz.ch> wrote:
>>> 
>>> 
>>>   [............]
>>> 
>>>> You are missing the closing bracket on the boxplot()
>>>> command.  Just finish with a ')'
>>> 
>>> Hmm... I once learned
>>> 
>>> '()' =: parenthesis/es
>>> '[]' =: bracket(s)
>>> '{}' =: brace(s)
>>> 
>>> Of course, I'm not a native English speaker, and my teacher(s) /
>>> teaching material may have been biased ... but, as all three
>>> symbol pairs play an important role in R, I think it would be
>>> really really helpful,  if we could agree on using the same
>>> precise English here.
>>> 
>>> I'm happy to re-learn, but I'd really like to end up with three
>>> different simple English words, if possible.
>>> (Yes, I know and have seen/heard "curly braces", "round
>>> parentheses", ... but I'd hope we can do without the extra adjective.)
>> 
>> I think this is what Americans are taught, but I can never remember
>> which is which. I use round brackets, square brackets, and squiggly
>> brackets, which are memorable, and even if you're not familiar with
>> the terms you can easily understand what I mean.
> 
> I should mention that all three terms have accompanying arm motions ;)
> 

I just wonder whether the original poster managed to brace himself for the oncoming avalanche....

-pd 

> Hadley
> 
> -- 
> http://had.co.nz/
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list