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 categorical data. Show all posts
Showing posts with label categorical data. Show all posts
Thursday, April 25, 2013

RG#90: fluctutation diagram: graphical representation of a contingency table

›
set.seed (1234) myd <- data.frame (x1 = rnorm (1000, 15, 5), x2 = sample (c("A", "B", "C"), 1000, replace...
Saturday, April 13, 2013

RG#56: heatmap plot of categorical variables

›
#data  datf <- data.frame(indv=factor(paste("ID", 1:20),     levels =rev(paste("ID", 1:20))), matrix(sample(LETT...
1 comment:
Monday, April 8, 2013

RG#42: Association plot (categorical data)

›
# data  set.seed (1234) myd <- data.frame (fact1 = sample (c("A", "B", "C", "D"), 200, replac...

RG#41: Mosaic plot: visualization of categorical data

›
# data  set.seed (1234) myd <- data.frame (fact1 = sample (c("A", "B", "C", "D"), 200, replace...

RG#40: Spine plot

›
set.seed(123) myd <- data.frame (grp1 = rep(c("A", "B", "C", "D"), each = 5), grp2 = rep(c(...

RG#39: plot factors (factor by factor plot)

›
set.seed(123) myd <- data.frame (grp1 = rep(c("A", "B", "C", "D"), each = 5), grp2 = rep(c(...
›
Home
View web version
Powered by Blogger.