densityPlot: Creates a density plot of a quantitative vector

Description Usage Arguments Value

Description

This is useful for getting a quick idea of the distribution of a column of data. It also draws a line for the median.

Usage

1
2
densityPlot(df, column, lowerx = -10, upperx = 10,
  title = "Density of Whatever You're Plotting")

Arguments

df

The name of the dataframe, not in quotes.

column

The name of the column, not in quotes, that will be graphed.

lowerx

The lower bound of the x-axis to show on the chart. Default is -10.

upperx

The upper bound of the x-axis to show on the chart. Default is 10.

title

The title, in quotes, that you want to give to the plot. Default = "Density of Whatever You're Plotting".

Value

Densit plot.


RonGuymon/ronsFunctions documentation built on May 8, 2019, 11:42 a.m.