让 GGally:ggparcoord 工作
Getting GGally:ggparcoord to work
library(GGally)
library(ggplot2)
data(diamonds, package="ggplot2")
diamonds.samp <- diamonds[sample(1:dim(diamonds)[1],100),]
gpd <- ggparcoord(data = diamonds.samp,columns = c(1,5:10),groupColumn = 2)
抛出错误
> Error: (list) Object can not be converted to 'double'
这是来自 GGally 的示例。这是(另一个)错误吗?
运行 再次从干净的会话中。
library(GGally)
library(ggplot2)
data(diamonds, package="ggplot2")
diamonds.samp <- diamonds[sample(1:dim(diamonds)[1],100),]
gpd <- ggparcoord(data = diamonds.samp,columns = c(1,5:10),groupColumn = 2)
抛出错误
> Error: (list) Object can not be converted to 'double'
这是来自 GGally 的示例。这是(另一个)错误吗?
运行 再次从干净的会话中。