Hadley Wickham
2015-Dec-16 15:34 UTC
[R] Make a box-whiskers plot in R with 5 variables, color coded.
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. Hadley -- http://had.co.nz/
Michael Dewey
2015-Dec-16 16:03 UTC
[R] Make a box-whiskers plot in R with 5 variables, color coded.
As a speaker of the dialect of British English current in southern England I think: 1 - the generic term for all three is brackets. As a child I was taught the precedence rules for arithmetic operators by the mnemonic BODMAS (the O stands for 'of') 2 - careful speakers of the dialect who know all three use exactly the terms used in the canton of Zuerich by Martin as he uses them 3 - I would use square brackets and curly brackets to a non-technical audience but I could not bring myself to say round brackets On 16/12/2015 15:34, Hadley Wickham 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. > > Hadley >-- Michael http://www.dewey.myzen.co.uk/home.html
Hadley Wickham
2015-Dec-16 16:42 UTC
[R] Make a box-whiskers plot in R with 5 variables, color coded.
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 ;) Hadley -- http://had.co.nz/
peter dalgaard
2015-Dec-16 22:28 UTC
[R] Make a box-whiskers plot in R with 5 variables, color coded.
> 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
jwd
2015-Dec-17 04:52 UTC
[R] Make a box-whiskers plot in R with 5 variables, color coded.
On Wed, 16 Dec 2015 09:34:20 -0600 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) > >That is correct, though I've generally heard braces heard called "curly braces." JWDougherty