R packages

tabplot

A tableplot is a visualisation of a (large) dataset with a dozen of variables, both numeric and categorical. Each column represents a variable and each row bin is an aggregate of a certain number of records. Numeric variables are visualized as bar charts, and categorical variables as stacked bar charts. Missing values are taken into account. Also supports large ffdf datasets from the ff package.

CRAN project home Vignette

?View Code RSPLUS
# install the package from CRAN
install.packages("tabplot", dependencies=c("Depends", "Imports"))
 
# or install the latest development version:
library(devtools); install_github("tabplot", username="mtennekes", subdir="pkg")
 
# load the tabplot package
library(tabplot)
 
# load diamonds dataset
library(ggplot2); data(diamonds)
 
# plot it!
tableplot(diamonds)

treemap

A treemap is a space-filling visualization of hierarchical structures. This package offers great flexibility to draw treemaps.

CRAN project home

?View Code RSPLUS
# install the package from CRAN
install.packages("treemap", dependencies=c("Depends", "Imports"))
 
# or install the latest development version:
library(devtools); install_github("treemap", username="mtennekes", subdir="pkg")
 
# load the tabplot package
library(treemap)
 
# load GNI dataset
data(GNI2010)
 
# plot it!
treemap(GNI2010,
    index=c("continent", "iso3"),
    vSize="population",
    vColor="GNI",
    type="value")

Links

R home page
github development page