1
我需要使用lattice
包与as.data.frame
函数构建splom()
图形,但它不起作用。使用as.data.frame绘制splom()图形
library(lattice)
data(Investment, package = "sandwich")
Investment <- as.data.frame(Investment, GNP)
splom(Investment|"Graphic", xlab = "Investment", ylab = "GNP")