Learn R Programming

crmPack (version 1.0.6)

myBarplot: Convenience function to make barplots of percentages

Description

Convenience function to make barplots of percentages

Usage

myBarplot(x, description, xaxisround = 0)

Value

the ggplot2 object

Arguments

x

vector of samples

description

xlab string

xaxisround

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

Examples

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

Run the code above in your browser using DataLab