最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

R: corrplot()——Error in C(0, 15) : object not interpretable as a factor

互联网 admin 1浏览 0评论

R: corrplot()——Error in C(0, 15) : object not interpretable as a factor

使用函数:
corrplot()

代码:

corrplot(P1[1:15,], method = "circle", cl.pos = "r", cl.lim = C(0,15))

运行以上代码,报错:

Error in C(0, 15) : object not interpretable as a factor

解决方法:
将上述cl.lim = C(0,15) 改为 cl.lim = c(0,15).

corrplot(P1[1:15,], method = "circle", cl.pos = "r", cl.lim = c(0,15))

R: corrplot()——Error in C(0, 15) : object not interpretable as a factor

使用函数:
corrplot()

代码:

corrplot(P1[1:15,], method = "circle", cl.pos = "r", cl.lim = C(0,15))

运行以上代码,报错:

Error in C(0, 15) : object not interpretable as a factor

解决方法:
将上述cl.lim = C(0,15) 改为 cl.lim = c(0,15).

corrplot(P1[1:15,], method = "circle", cl.pos = "r", cl.lim = c(0,15))
发布评论

评论列表 (0)

  1. 暂无评论