📜  如何将分类数据转换为数值数据 - R 编程语言代码示例

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

代码示例1
Type_peau<-as.factor(c("Mixte","Normale","Sèche","Mixte","Normale","Mixte"))
Type_peau
unclass(Type_peau)