density: Distribution Density Plot.

Description Usage Arguments Value Examples

View source: R/density.R

Description

density function will draw Density Plot for Distribution analysis.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
density(
  data,
  x,
  col.var = NULL,
  title = NULL,
  subtitle = NULL,
  xtitle = NULL,
  ytitle = NULL,
  caption = NULL
)

Arguments

data

input data.frame

x

x variable

col.var

color variable

title

input data.frame

subtitle

date variable

xtitle

value variable

ytitle

input data.frame

caption

date variable

Value

An object of class ggplot

Examples

1
2
plot<- density(data=mpg,x="cty",col.var="cyl")
plot

HeeseokMoon/ggedachart documentation built on Dec. 31, 2020, 12:59 p.m.