getInit {simIDM} | R Documentation |
Retrieve Initial Parameter Vectors for Likelihood Maximization
Description
Retrieve Initial Parameter Vectors for Likelihood Maximization
Usage
getInit(transition)
## S3 method for class 'ExponentialTransition'
getInit(transition)
## S3 method for class 'WeibullTransition'
getInit(transition)
Arguments
transition |
( |
Value
The numeric vector of initial parameters for likelihood maximization.
Methods (by class)
-
getInit(ExponentialTransition)
: for the Exponential Transition Model -
getInit(WeibullTransition)
: for the Weibull Transition Model
Examples
transition <- exponential_transition(h01 = 1.2, h02 = 1.5, h12 = 1.6)
getInit(transition)
transition <- exponential_transition(h01 = 1.2, h02 = 1.5, h12 = 1.6)
getInit(transition)
transition <- weibull_transition(h01 = 1.2, h02 = 1.5, h12 = 1.6, p01 = 2, p02 = 2.5, p12 = 3)
getInit(transition)
[Package simIDM version 0.1.0 Index]