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 Sept. 3, 2022, 1:05 a.m.