我对我的数据运行ggpairs
并收到此错误:
library(GGally)
ggpairs(mix[, c("soc", "neg", "b")])
# Error in structure(list(call = match.call(), aesthetics = aesthetics, :
# object 'ContinuousRange' not found
这是我的数据
structure(list(soc = c(-10.31, 14, 4, 1.5, 1.56), neg = c(-1.66,
-10.75, -0.63, -1.24, -0.9), b = c("2", "2", "3", "3", "2")), .Names = c("soc",
"neg", "b"), row.names = c(1L, 2L, 4L, 5L, 6L), class = "data.frame")
当我将其应用于不同的数据集时,也出现了同样的问题。