plot_ViolinPlot(data, boxplot = TRUE, rug = TRUE, summary = NULL, summary.pos = "sub", na.rm = TRUE, ...)
numeric
or RLum.Results
object (required): input data for plotting. Alternatively a data.frame
or
a matrix
can be provided, but only the first column will be considered by the
functionlogical
(with default): enable or disable boxplotlogical
(with default): enable or disable rugcharacter
(optional): add statistic measures of
centrality and dispersion to the plot. Can be one or more of several
keywords. See details for available keywords.logical
(with default): exclude NA values
from the data set prior to any further operations.plot.default
, density
and boxplot
. See details for
further informationplot
,
density
, boxplot
:
Supported arguments are: xlim
, main
, xlab
,
ylab
, col.violin
, col.boxplot
, mtext
, cex
, mtext
Valid summary keywords
'n', 'mean', 'median', 'sd.abs', 'sd.rel', 'se.abs', 'se.rel', 'skewness', 'kurtosis'
Hintze, J.L., Nelson, R.D., 1998. A Box Plot-Density Trace Synergism. The American Statistician 52, 181-184.
Raphael W. Majeed (2012). violinmplot: Combination of violin plot with mean and standard deviation. R package version 0.2.1. http://CRAN.R-project.org/package=violinmplot
Wickham. H (2009). ggplot2: elegant graphics for data analysis. Springer New York.
density
, plot
, boxplot
, rug
,
calc_Statistics
## read example data set
data(ExampleData.DeValues, envir = environment())
ExampleData.DeValues <- Second2Gray(ExampleData.DeValues$BT998, c(0.0438,0.0019))
## create plot straightforward
plot_ViolinPlot(data = ExampleData.DeValues)
Run the code above in your browser using DataLab