Description Usage Arguments Details Value Author(s) Examples
This function extracts distribution families from R-packages along with their parameters and characteristics, and scans specific packages if desired.
1 | getFamilies(all.packages)
|
all.packages |
character vector or missing or logical; package names in which to scan:
If missing, a list of recognized families is returned. |
This function retrieves distribution families from R-packages as specified
in ‘arguments’. A distribution family is defined as follows:
Take the functions dnorm
, pnorm
, qnorm
and rnorm
from the package ‘stats’. These functions are related to sampling,
density etc. of the normal distribution. The family name is the part of
the function name without the prefixes ‘d’, ‘p’, ‘q’, or
‘r’ , in this case: ‘norm’.
A list of lists. Each sublist pertains to exactly one distribution family (such as ‘norm’ from ‘stats’) and contains:
package |
character; name of the package containing the family |
family |
character; name of the family, as defined under “Details” |
family_info |
|
Tim Glockner, Adrian Heppeler, Borui Niklas Zhu
1 2 |
str(getFamilies())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.