pretty_density: pretty_density

Description Usage Arguments Value Examples

View source: R/pretty_density.R

Description

makes a pretty density plot with mean and CI

Usage

1
2
3
pretty_density(data, xlab = "value", ylab = "", cdf = FALSE, main = NA,
  kleur = 1, ccloc = 0, add = FALSE, mid = NA, quants = c(2.5, 97.5),
  bw = "nrd0", ...)

Arguments

data

a vector with the data

cdf

if true, take the cumulative distribution

kleur

the line color in the palet

mid

is NA, the mean of the data, otherwise a given value such as median

...

other values for pretty_plot

Value

NA

Examples

1
# pretty_density(rnorm(1000, 0,1), mid=0)

MrOoijer/myLib documentation built on Dec. 17, 2021, 4:22 a.m.