distr {sads} | R Documentation |
Continuous or discrete distributions
Description
Checks if the distribution is continuous or discrete
Usage
distr(distribution)
Arguments
distribution |
Character. The name of the distribution ("geom" for "fitgeom", "weibull" for "fitweibull", etc. |
Details
Returns whether a given distribution (used for a sad or rad model) is "discrete" or "continuous". The name is compared to a list of known distributions, so distributions not used in the sads package will return "NA" with a warning.
In the package sads up to version 0.2.3, the user was required to explicitly set
a distr argument in some calls to radpred
and qqsad
. Now
this is handled automatically, and attempts to set the "distr" argument explicitly are ignored.
[Package sads version 0.6.3 Index]