ggdotchart: ggdotchart

ggdotchartR Documentation

ggdotchart

Description

ggplot version of base::dotchart

Usage

ggdotchart(v, threshold = NULL)

Arguments

v

A named vector, e.g., a table

threshold

A numeric value. Values in v that are greater than this will have different colors and shapes

Details

Uses theme_minimal, and no axis labels.

Value

a ggplot object

Examples

## Not run: 
if(interactive()){
 ggdotchart(table(mtcars$cyl))
 }

## End(Not run)

grasshoppermouse/hagenutils documentation built on Dec. 6, 2024, 8:31 p.m.