R设置哑变量

对于分类数据,即定性数据在建模的时候常常需要转换为哑变量,R提供了非常好用的函数;

dummyvars();

matxir.model();

猜你喜欢

转载自blog.csdn.net/J_sir2015/article/details/81501717