empirical_dist object. Since the empirical distribution is parameter-free, this function returns 0.R/empirical_dist.R
nparams.empirical_dist.RdMethod 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)0 (empirical distributions are non-parametric).
ed <- empirical_dist(c(1, 2, 3))
nparams(ed) # 0
#> [1] 0