Suppose I have the dataset:
假设我有数据集:
mydata=data.frame(
status = as.factor(c(0,0,0,0,0,1,1,1,1,1)),
a = c(1,3,4,5,6,1,2,3,4,5),
b = c(4,2,3,6,2,1,3,4,5,6)
)
mydataSuppose I have the dataset:
假设我有数据集:
mydata=data.frame(
status = as.factor(c(0,0,0,0,0,1,1,1,1,1)),
a = c(1,3,4,5,6,1,2,3,4,5),
b = c(4,2,3,6,2,1,3,4,5,6)
)
mydata