创建数据框
If your data is captured in several vectors and/or factors, use the data.frame function
公卫家园
to assemble them into a data frame:> dfrm <- data.frame(v1, v2, v3, f1, f2)
Use as.data.frame instead if your data is captured in a list that contains vectors and/ 公卫论坛
or factors:
> dfrm <- as.data.frame(list.of.vectors)
附件列表
词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。