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))