发布网友
共1个回答
热心网友
x1 = c(2,4,3,2,4,7,7,2,2,5,4)
x2 = c(5,6,8,5,10,7,12,12,6,6)
x3 = c(7,11,6,6,7,9,5,5,10,6,3,10)
y = c(x1,x2,x3)
f = factor(c(rep(1,11),rep(2,10),rep(3,12)))
plot(f,y)