📌  相关文章
📜  如何转换因子 - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:52:01.594000             🧑  作者: Mango

代码示例1
> directions <- c("North", "East", "South", "South")
> directions.factor <- factor(directions)
> directions.factor
[1] North East South South
Levels: East North South