Learn R Programming

pmxcv (version 0.0.2)

dist.moment: Built-in moment functions

Description

Built-in moment functions

Usage

dist.moment(
  dist = "log",
  ...,
  exact = ifelse(dist == "log", TRUE, FALSE),
  lambda = NULL
)

Value

moment

Arguments

dist

Selection of built-in distributions.

...

passed to moment()

exact

If there is an exact moment generating function, use that. Default TRUE only for log

lambda

shape parameter for nonmemboxcox()

Examples

Run this code
dist.moment("log", u = 2, v = 0.2, n = 2)
dist.moment("logit", u = 0.5, v = 0.2, n = 1)

Run the code above in your browser using DataLab