dt_wrap: Wrapper for dt with a non-zero mean and non-1 scale...

Description Usage Arguments

View source: R/mouthwash.R

Description

Wrapper for dt with a non-zero mean and non-1 scale parameter.

Usage

1
dt_wrap(x, df, mean = 0, sd = 1, log = FALSE)

Arguments

x

A numeric. Where to evaluate the density function.

df

A positive numeric. The degrees of freedom.

mean

A numeric. The mean of the t. Defaults to 0.

sd

A positive numeric. The standard deviation of the t. Defaults to 1.

log

A logical. Should we return the log-density (TRUE) or the density (FALSE)?


dcgerard/vicar documentation built on July 7, 2021, 1:08 p.m.