Skip to content

boxplot

2 messages · wei wu, Marc Girondot

#
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
#
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 :