[R] boxplot

Marc Girondot marc_grt at yahoo.fr
Thu Mar 14 08:51:34 CET 2013


v <- c(V1=2, V2=4 ,V3=6 ,V4=7 ,V5=12 ,V6=33 ,V7=43 ,V8=53)
boxplot(v[seq(from=1, to=8, by=2)], v[seq(from=2, to=8, by=2)])

Sincerely
Marc

Le 13/03/13 23:14, wei wu a écrit :
> Hi,
>
> I try to boxplot following data on the subset of (V1,V3,V5,V7) and 
> (V2,V4,V6,V8)
>
> V1  V2   V3 V4  V5  V6  V7  V8
> 2    4      6     7    12  33   43  53
>
> how can I use boxplot function to plot it?
>
> thanks,
>
> William
>
> ______________________________________________
> R-help at 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.
>


-- 
__________________________________________________________
Marc Girondot, Pr

Laboratoire Ecologie, Systématique et Evolution
Equipe de Conservation des Populations et des Communautés
CNRS, AgroParisTech et Université Paris-Sud 11 , UMR 8079
Bâtiment 362
91405 Orsay Cedex, France

Tel:  33 1 (0)1.69.15.72.30   Fax: 33 1 (0)1.69.15.73.53
e-mail: marc.girondot at u-psud.fr
Web: http://www.ese.u-psud.fr/epc/conservation/Marc.html
Skype: girondot



More information about the R-help mailing list