moment | R Documentation |
Obtain Moments from a CopRe or SeqRe Result
moment(obj, mom, cntrl = TRUE, grd = NULL)
## S3 method for class 'seqre_result'
moment(obj, mom, cntrl = TRUE, grd = NULL)
## S3 method for class 'grideval_result'
moment(obj, mom, cntrl = TRUE, grd = NULL)
obj |
A |
mom |
A numeric scalar indicating the moment to calculate. |
cntrl |
A logical value indicating whether the moment should be central
or not. Defaults to |
grd |
A numeric vector of grid values on which the density function
samples in |
A vector of moment values for each sampled distribution in obj
.
moment(seqre_result)
: Moment calculation method for seqre_result
objects.
moment(grideval_result)
: Moment calculation method for grideval_result
objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.