compareDensityChartWMean: Comparison Density Chart with Mean and Median

Description Usage Arguments Value Examples

View source: R/functions.R

Description

This is a function that creates a density chart based on raw values in a population.

Usage

1
2
compareDensityChartWMean(yValue1, yValue2, yValue1Name, yValue2Name, title,
  subTitle, xAxisTitle, colorType)

Arguments

yValue1

The quantitative field for series 1 from which to create the density chart.

yValue1Name

The label for the distribution of the density chart for the first series.

yValue2Name

The label for the distribution of the density chart for the second series.

title

The title of the chart

subTitle

The subtitle of the chart

xAxisTitle

The x Axis title

colorType

Specify the theme to use for the chart (either Verasite or Uber)

yValue1

The quantitative field for series 2 from which to create the density chart.

Value

Returns a highchart object

Examples

1
2
3
4
## Not run: 
densityChartWMean(mtcars$cyl,"Density of Cylinders in MT Cars Dataset","Example of density chart","Cylinders")

## End(Not run)

jsdeherrera/shinyStats documentation built on May 13, 2019, 11:54 p.m.