View source: R/hawkes_em_functions.R
| get_parms | R Documentation |
EMReformatrs EM output to be compatable with other functions that take the parms argument. Currently only implemented for "dgamma".
get_parms(em_obj, solution = 1)
em_obj |
the output of a call to |
solution |
a scalar indicating which row of |
A named list of numeric arrays with components c("mu", "alpha", "k_parm1", "k_parm2") defined as follows. Let n_margins denote the attr(pp_obj, "n_margins"). Then "mu" is the n_margins-vector of baseline parameters; "alpha" is the n_margins-by-n_margins matrix of intensity parameters; "k_parm1" is the n_margins-by-n_margins matrix containing the first arg to the response kernels; "k_parm2" is the n_margins-by-n_margins matrix containing the second arg to the response kernels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.