How to get smoothed data as a vector?
For example, I draw a graph
ggplot2::ggplot(data=data.frame(x=seq(1,28),y=data$Var1), aes(x, y)) +
geom_point() +
geom_smooth(method = "loess", se = FALSE, span=0.3, n=28)
however, I don't understand how to extract the result as a vector