myBarplot: Convenience function to make barplots of percentages

View source: R/helpers.R

myBarplotR Documentation

Convenience function to make barplots of percentages

Description

Convenience function to make barplots of percentages

Usage

myBarplot(x, description, xaxisround = 0)

Arguments

x

vector of samples

description

xlab string

xaxisround

rounding for xaxis labels (default: 0, i.e. integers will be used)

Value

the ggplot2 object

Examples

crmPack:::myBarplot(rpois(n=100, lambda=2), 
                    "test")

crmPack documentation built on June 26, 2024, 5:07 p.m.