getFamily {DistributionFitR} R Documentation

## Find all distributions in a package

### Description

Given the name of a package, this function finds all distribution families that are provided in the package. Distributions are identified by scanning all function names in a package for the pattern r***, p***, q***, d***, (*** representing at least one character)

### Usage

getFamily(pkg)


### Arguments

 pkg character string; name of the package

### Value

A list of of lists, the latter with two named elements:

 package The name of the package as provided to the function family The name of the function that belongs to a distribution family, referred to as *** above.

### Note

The function make do with at least two functions that have the same remainder of the function name.

### Author(s)

Manuel Hentschel, Valentin von Trotha

### Examples

   str(getFamily("stats"))


[Package DistributionFitR version 0.1 Index]