myBarplot: Convenience function to make barplots of percentages

Description Usage Arguments Value Examples

View source: R/helpers.R

Description

Convenience function to make barplots of percentages

Usage

1
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

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

0liver0815/onc-crmpack-test documentation built on Feb. 19, 2022, 12:25 a.m.