View source: R/empirical_dist.R
| nobs.empirical_dist | R Documentation |
empirical_dist object.Method for obtaining the number of observations used to construct a
empirical_dist object.
## S3 method for class 'empirical_dist'
nobs(object, ...)
object |
The empirical distribution object. |
... |
Additional arguments to pass (not used). |
Integer; number of observations.
ed <- empirical_dist(c(10, 20, 30, 40))
nobs(ed) # 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.