🌈 搜索
📅  最后修改于: 2022-03-11 15:00:28.659000             🧑  作者: Mango
factors <- c("factor1", "factor2") as.formula(paste("y~", paste(factors, collapse="+"))) # y ~ factor1 + factor2