Learn R Programming

fBasics (version 290.75)

distCheck: Distribution Check

Description

Tests properties of a distribution.

Usage

distCheck(fun = "norm", n = 1000, robust = TRUE, subdivisions = 100, ...)

Arguments

fun
a character string denoting the name of the distribution.
n
an integer specifying the number of random variates to be generated.
robust
a logical flag, should robust estimates be used? By default TRUE.
subdivisions
an integer specifying the numbers of subdivisions in integration.
...
the distributional parameters.

Examples

Run this code
## distCheck:
   distCheck("norm", mean = 1, sd = 1)

Run the code above in your browser using DataLab