R graph gallery

The blog is a collection of script examples with example data and output plots. R produce excellent quality graphs for data analysis, science and business presentation, publications and other purposes. Self-help codes and examples are provided. Enjoy nice graphs !!

Showing posts with label binormial. Show all posts
Showing posts with label binormial. Show all posts
Tuesday, April 16, 2013

RG#69: Plot binomial distribution

›
require(ggplot2) require(grid) x1  <- 3:17 df <- data.frame(x = x1, y = dbinom(x1, 20, 0.5)) plot1 <- ggplot(df, aes(x = x,...
›
Home
View web version
Powered by Blogger.