measure_distribution_over_time: Plot the change of distribution of a numeric (measure) column...

Description Usage Arguments Value Examples

View source: R/measure-distribution.R

Description

Plot the change of distribution of a numeric (measure) column over time

Usage

1

Arguments

data

A data frame or tibble

measure

Unquoted column name of containing numbers (measure)

time

Unquoted name of column containing the time object

bwidth

width of bin for histogram (by default uses binwidth for 30 bins)

Value

A ggplot plot object

Examples

1
2
3
4
5
6
7
h1 <- round(rnorm(50, 60, 8), 0)
h2 <- round(rnorm(50, 65, 8), 0)
h3 <- round(rnorm(50, 70, 8), 0)
h <- c(h1, h2, h3)
y <- c(rep(1999, 50), rep(2000, 50), rep(2001, 50))
df <- data.frame(height = h, year = y)
measure_distribution_over_time(df, h, year)

kviswana/ezEDA documentation built on July 1, 2021, 1:02 p.m.