S Ellison
2015-Dec-15 15:33 UTC
[R] Make a box-whiskers plot in R with 5 variables, color coded.
> I have tried: > > boxplot(data, las = 2, col > c("red", "blue", "black", "aquamarine1", "darkorange3"), > at = c(1, 2, 3, 4, 5), par(mar = c(12, 5, 4, 2) + 0.1), > names = c("Meeting1", "Meeting2", "Meeting3", "Meeting4","Meeting5") > > and have gotten a '+' at the end meaning I am missing something.You are missing the closing bracket on the boxplot() command. Just finish with a ')' S Ellison ******************************************************************* This email and any attachments are confidential. Any use, copying or disclosure other than by the intended recipient is unauthorised. If you have received this message in error, please notify the sender immediately via +44(0)20 8943 7000 or notify postmaster at lgcgroup.com and delete this message and any copies from your computer and network. LGC Limited. Registered in England 2991879. Registered office: Queens Road, Teddington, Middlesex, TW11 0LY, UK
Martin Maechler
2015-Dec-15 15:55 UTC
[R] Make a box-whiskers plot in R with 5 variables, color coded.
[............]
> 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.)
Thank you, well versed English (or "American") learned readers
of R-help, for wise guidance on this ...
Martin
Marc Schwartz
2015-Dec-15 16:05 UTC
[R] Make a box-whiskers plot in R with 5 variables, color coded.
> On 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)Martin, The above is how I would refer to each. Regards, Marc> > 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.) > > Thank you, well versed English (or "American") learned readers > of R-help, for wise guidance on this ... > > Martin > > ______________________________________________ > 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.
Clint Bowman
2015-Dec-15 16:54 UTC
[R] Make a box-whiskers plot in R with 5 variables, color coded.
Martin,
I grew up in the Midwest of the United States--about as native English
speaker as you could find. I was taught exactly the same as you have
learned.
Clint
Clint Bowman INTERNET: clint at ecy.wa.gov
Air Quality Modeler INTERNET: clint at math.utah.edu
Department of Ecology VOICE: (360) 407-6815
PO Box 47600 FAX: (360) 407-7534
Olympia, WA 98504-7600
USPS: PO Box 47600, Olympia, WA 98504-7600
Parcels: 300 Desmond Drive, Lacey, WA 98503-1274
On Tue, 15 Dec 2015, Martin Maechler 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.)
>
> Thank you, well versed English (or "American") learned readers
> of R-help, for wise guidance on this ...
>
> Martin
>
> ______________________________________________
> 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.
>
John Kane
2015-Dec-16 15:16 UTC
[R] Make a box-whiskers plot in R with 5 variables, color coded.
John Kane Kingston ON Canada> -----Original Message----- > From: s.ellison at lgcgroup.com > Sent: Tue, 15 Dec 2015 19:17:59 +0000 > To: r-help at r-project.org > Subject: Re: [R] Make a box-whiskers plot in R with 5 variables, color > coded. > >> It is clear that a ) although is a type of bracket it is called a >> parenthesis, just as , >> is called a comma, which is a type of punctuation mark. > > These things are called parentheses because of what they do, not what > they are. > A parenthesis is any word or phrase inserted as an explanation or > afterthought into text that would be is grammatically complete without > it, usually bounded by punctuation. The bounding punctuation marks are > then called parentheses, and can be round, square, or curly brackets, > dashes, or just commas. > > So (), [], {}, - ... - and , ... , are _all_ pairs of parentheses in > grammatical usage. > > Three of them are also kinds of bracket, but not the only kinds. > > There's a disturbingly extensive article on it at > https://en.wikipedia.org/wiki/Bracket#Names_for_various_bracket_symbolsI have lived next door to the USA for most of my life and never realized that American usage is 'brackets' for [ ] . I would use the term brackets in normal use for ( ) and "square brackets for [ ].> > which suggests to me that the terms are unlikely to be standardised > quickly. > > Steve EI am not expecting standardization any time this year. ____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
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/
jwd
2015-Dec-17 05:01 UTC
[R] Make a box-whiskers plot in R with 5 variables, color coded.
On Wed, 16 Dec 2015 07:16:21 -0800 John Kane <jrkrideau at inbox.com> wrote: ...> > I have lived next door to the USA for most of my life and never > realized that American usage is 'brackets' for [ ] . I would use > the term brackets in normal use for ( ) and "square brackets for [ ]. > ...There's a lot of fog in the air. Properly, the use in the USA is as described by Martin. But ever since the late '60s there has been a de-emphasis of linguistic precision and a tendency to "good enough." Sad. JWDougherty