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

S Ellison
Tue, 15 Dec 2015 15:33:05 -0000

> 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