transformDensity: Draw histogram of transformed value with normal density

Description Usage Arguments Examples

View source: R/transformDensity.R

Description

Draw histogram of transformed value with normal density

Usage

1
2
3
4
5
6
7
8
9
transformDensity(
  x,
  best = FALSE,
  power = TRUE,
  hist = TRUE,
  density = FALSE,
  select = NULL,
  method = c("shapiro", "ad", "cvm", "lillie", "pearson", "sf")
)

Arguments

x

A numeric vector

best

logical Whether or not use bestNormalize::bestNormalize

power

logical Whether or not use car::powerTransform

hist

logical Whether or not draw histogram

density

logical Whether or not draw density

select

numeric choice of normality test

method

character choice of normality test

Examples

1
2
3
require(moonBook)
transformDensity(acs$TG)
transformDensity(acs$TG,best=TRUE)

cardiomoon/webr2 documentation built on April 24, 2020, 9:44 p.m.