2017-02-21 96 views

回答

1

请参阅函数gl通过指定模式和级别来生成因子。例如:

gl(2, 8, labels = c("Bee", "Worker")) 

创建因子:

[1]蜜蜂蜂蜂蜂蜂蜂蜂蜂用工用工用工用工

水平:蜂工人