View source: R/03-summary-statistics.R
make_numeric_moment_function | R Documentation |
Create a function suitable for computation of numeric moments. This function is
used internally by compute_moment
when the user chooses nn
, and is
unlikely to need to be called by a user directly.
make_numeric_moment_function(nn, j, quad = NULL, centre = 0, shift = NULL, ...)
get_shift(gg)
nn |
Order of moment to be computed, see |
j |
Numeric, positive integer, index of parameter vector to compute the numeric moment for. |
quad |
Optional, object of class |
centre |
Numeric scalar, added to |
shift |
Numeric scalar, amount by which to shift |
... |
Not used. |
gg |
Object of class |
Object of class aghqmoment
, see make_moment_function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.