R中的处理控制图

R中的处理控制图,r,R,假设我有两个数据向量,如何创建像R中那样的治疗/控制图 treatment如果您使用lattice软件包,您应该使用 library(lattice) xyplot(data~which, make.groups(treatment, control), groups=which) 如果使用lattice软件包,则应使用 library(lattice) xyplot(data~which, make.groups(treatment, control), groups=which) 是否可

假设我有两个数据向量,如何创建像R中那样的治疗/控制图


treatment如果您使用lattice软件包,您应该使用

library(lattice)
xyplot(data~which, make.groups(treatment, control), groups=which)

如果使用lattice软件包,则应使用

library(lattice)
xyplot(data~which, make.groups(treatment, control), groups=which)

是否可以添加
jitter()
来解决过度抽签问题?像
xyplot(jitter(data)~which,make.groups(treatment,control),groups=which)
也许可以添加
jitter()?像
xyplot(抖动(数据)~哪个,make.groups(治疗,控制),groups=which)