?. If I try ggplot(data.frame(x=c(-2, 2)),aes(x)) + stat_function(fun=dnorm)+ geom_area(aes(xlim=c(-2,0)),stat=”function”, fun=dnorm)
I get all the area under the curve fiiled instead of the region I want
Other options such as geom=”ribbon” or fill=”red” don’t work either.