bump: bump chart

Description Usage Arguments Examples

View source: R/plot_special.R

Description

A bump chart

Usage

1
bump(mat, adj = 0.5, ...)

Arguments

mat

an n x t matrix with n observations and t timepoints

adj

label position adjustment

...

additional graphical parameters passed to par

Examples

1
2
3
mat <- replicate(5, sample(1:10))
dimnames(mat) <- list(rownames(mtcars)[1:nrow(mat)], paste0('time', 1:ncol(mat)))
bump(mat, mar = c(2,4,2,9), adj = .1, bg = 'snow')

raredd/plotr documentation built on Nov. 13, 2018, 7:05 a.m.