Suppose I have a function that returns a ggplot object:
getplot = function() {
x = rnorm(16)
y = rnorm(16)
dat = data.frame(x, y)
myplot = ggplot(dat, aes(x, y)) + geom_point()
myplot
}
After calling that function
x = getplot()
, how can I change the point size?