car包spm函数矩阵散点图
目标:
library(car)
spm(~jobtime+prevexp+salbegin+salary,data=employee,main="矩阵散点图")
spm(~jobtime+prevexp+salbegin+salary,data=employee,main="矩阵散点图",diagonal=list(method ="histogram", breaks="FD"))
spm(~jobtime+prevexp+salbegin+salary,data=employee,main="矩阵散点图",diagonal=list(method ="histogram", breaks="FD"),col = "black")
赞 (0)