Description Usage Arguments Details Value Author(s) Examples
Function called by other box plot functions to actually create the box plot. This allows for a consistent look throughout multiple different functions
1 2 3 4 5 6 7 8 9 10 11 |
data |
data frame with metricName and trxName as columns |
trxName |
column name of treatment factor in data |
metricName |
column name of numeric variable in data |
yLab |
(boxplot)(string) Y-axis label |
xLab |
(boxplot)(string) X-axis label |
yLim |
(boxplot)(numeric vector) Y-axis range |
boxWex |
(boxplot)(numeric) see boxplot |
plotMean |
(logical) if TRUE a dot will be plotted for where the mean is |
pOutliers |
(logical) if TRUE outliers are plotted |
This function is an adaptation of the traditional boxplot() so that box plot functions in biostatrpts can be similar
uwBox is called by any biostatrpts function that creates box plots.
Returns a list of sample sizes (n), means (mean), standard deviations (sd), minimums (min), first quartile (q25), medians (median), third quartile (q75), maximums (max)
University of Wisconsin-Madison Biostatistics and Medical Informatics Department, Scott Hetzel M.S.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.