histogram: Distribution Histogram.

Description Usage Arguments Value Examples

View source: R/histogram.R

Description

histogram function will draw Histogram for Distribution analysis.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
histogram(
  data,
  x,
  col.var = NULL,
  binwidth = 0.1,
  bins = NULL,
  title = NULL,
  subtitle = NULL,
  xtitle = NULL,
  ytitle = NULL,
  caption = NULL
)

Arguments

data

input data.frame

x

x variable

col.var

color variable

binwidth

binwidth, default is 0.1

bins

number of bins

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<- histogram(data=mpg,x="displ",col.var="class")
plot

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