View source: R/empirical_dist.R
| nparams.empirical_dist | R Documentation |
empirical_dist object. Since the
empirical distribution is parameter-free, this function returns 0.Method for obtaining the name of a empirical_dist object. Since the
empirical distribution is parameter-free, this function returns 0.
## S3 method for class 'empirical_dist'
nparams(x)
x |
The empirical distribution object. |
0 (empirical distributions are non-parametric).
ed <- empirical_dist(c(1, 2, 3))
nparams(ed) # 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.