我想知道如何获得带有完整地块尺寸图像的ggplot2图表
library("ggplot2")
library("ggimage")
set.seed(12345)
df1 <- data.frame(x = rnorm(1),
y = rnorm(1),
image = "https://www.r-project.org/logo/Rlogo.png")
ggplot(df1, aes(x, y)) +
geom_image(aes(image=image), size=.05)
df2 <- data.frame()
ggplot(df2) +
geom_point()