Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

myBarplot

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

Object-Oriented Implementation of CRM Designs

v1.0.0
GPL (>= 2)
Authors
Daniel Sabanes Bove [aut], Wai Yin Yeung [aut], Giuseppe Palermo [aut, cre], Thomas Jaki [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.