fitC {hhh4contacts} | R Documentation |
Estimate the Power of the Contact Matrix in a "hhh4"
Model
Description
The profile log-likelihood of the log(power) parameter of the contact matrix
(see powerC
) is maximized using optim
.
The hhh4
fit for the optimal power value is returned with an
additional element logpower
which holds information on the result of
the optimization.
Usage
fitC(object, C, normalize = TRUE, truncate = TRUE, optim.args = list(), ...)
Arguments
object |
a model fit of class |
C |
the contact matrix to use. |
normalize , truncate |
see |
optim.args |
a list to modify the default optimization parameters. |
... |
additional arguments for each run of |
Value
an object of class "fitC"
, which is an "hhh4"
object with an additional element logpower
.
Author(s)
Sebastian Meyer
[Package hhh4contacts version 0.13.3 Index]