我有17个列(16个预测变量和1个目标类)和80个观测值。
colA,colB,colC,colD,colE,colF,colG,colH,colI,colJ,colK,colL,colM,colN,colO,colP,colQ
88.0,79.0,75.0,81.0,45.0,68.0,47.0,57.0,68.0,52.0,66.0,61.0,64.0,64.0,58.0,51.0,60
80.0,91.0,69.0,70.0,35.0,68.0,58.0,50.0,55.0,48.0,49.0,66.0,45.0,45.0,59.0,78.0,62
87.0,68.0,78.0,96.0,67.0,57.0,85.0,77.0,76.0,88.0,75.0,67.0,50.0,50.0,74.0,79.0,62
85.0,90.0,64.0,73.0,45.0,75.0,42.0,63.0,59.0,69.0,52.0,48.0,77.0,77.0,71.0,57.0,67
57.0,54.0,46.0,41.0,35.0,53.0,29.0,52.0,43.0,49.0,41.0,51.0,47.0,47.0,54.0,53.0,58
82.0,89.0,60.0,99.0,44.0,68.0,60.0,84.0,72.0,80.0,64.0,49.0,64.0,64.0,57.0,72.0,67
73.0,90.0,76.0,82.0,48.0,73.0,56.0,66.0,66.0,55.0,60.0,48.0,61.0,61.0,68.0,73.0,69
84.0,84.0,76.0,90.0,53.0,47.0,44.0,40.0,51.0,38.0,55.0,37.0,58.0,58.0,61.0,66.0,67
56.0,59.0,55.0,48.0,51.0,62.0,22.0,87.0,62.0,47.0,77.0,69.0,41.0,41.0,51.0,66.0,56
84.0,80.0,68.0,79.0,37.0,51.0,72.0,70.0,62.0,60.0,53.0,45.0,65.0,65.0,69.0,66.0,67
92.0,73.0,89.0,78.0,60.0,68.0,72.0,80.0,95.0,60.0,83.0,87.0,78.0,78.0,47.0,94.0,66
94.0,82.0,79.0,99.0,67.0,71.0,79.0,92.0,91.0,87.0,58.0,72.0,73.0,73.0,76.0,71.0,71
90.0,74.0,73.0,84.0,59.0,69.0,74.0,83.0,59.0,60.0,71.0,71.0,65.0,65.0,56.0,85.0,75
91.0,78.0,67.0,82.0,71.0,59.0,82.0,89.0,55.0,82.0,72.0,80.0,79.0,79.0,78.0,87.0,80
plot(data)
给出错误:
plot.new()出错:数字边距太大
我试过
par(mfrow=c(2,2))
par(mar =c(2, 2, 2, 2))
plot(data)
但没有运气。我仍然得到同样的错误。我是par()函数的新手。以前从未使用过我不知道如何调整以修复错误。
我在其他论坛中查看过,它说要使用:par(mar=c(1,1,1,1))
并更改值以满足您的需求。