I tried to create a matrix of histograms using attitude dataset
library(reshape2)
library(ggplot2)
attitudeM <- melt(attitude)
g <- ggplot(attitudeM,aes(x=value))
g <- g + geom_histogram()
g <- g + facet_wrap(~variable)
g
```
i got the error message: No id variables; using all as measure variables.However I can still get the result. I'm new to r. Could you help to check what's the issue? Thanks