Thanks for helping me!
Here is my code.
norm1<-data.frame(rnorm(20,0,1))
library(ggplot2)
ggplot(data=data.frame(norm1),aes(x))+
geom_histogram(color="white",fill="pink",alpha=0.5,bins=20)
norm1<-data.frame(rnorm(20,0,1))
library(ggplot2)
ggplot(data=data.frame(norm1),aes(x))+
- geom_histogram(color="white",fill="pink",alpha=0.5,bins=20)
Error: Aesthetics must be either length 1 or the same as the data (20): x