Saturday 15 February 2014

r - Best way to plot smooth normal distribution in ggplot -



r - Best way to plot smooth normal distribution in ggplot -

i plot nice, 'approaching limit'-looking normal pdf in ggplot.

i found symmetric , clean looking plot, had crank number of samples rather big number; 1 1000000 creates great visualization. however, pretty slow, if hope work shiny @ point.

df <- data.frame(c(rnorm(1000000))) ggplot(df, aes(df[1])) + geom_density()

surely there improve way display close ideal normal distribution?

r ggplot2 normal-distribution

No comments:

Post a Comment