> coefficients
[1] -0.052993570 0.071073199 -0.004234659 -0.005725687
如何重命名我的矢量“系数”的列才能获得?
> coefficients
int X1 X2 X3
-0.052993570 0.071073199 -0.004234659 -0.005725687
谢谢!
答案 0 :(得分:1)
names(coefficients) <- c("int","X1","X2","X3")