getResults {simIDM} | R Documentation |
Format Results of Parameter Estimation for Different Transition Models
Description
Format Results of Parameter Estimation for Different Transition Models
Usage
getResults(transition, res)
## S3 method for class 'ExponentialTransition'
getResults(transition, res)
## S3 method for class 'WeibullTransition'
getResults(transition, res)
Arguments
transition |
( |
res |
( |
Value
Returns a TransitionParameters
object with parameter estimates.
Methods (by class)
-
getResults(ExponentialTransition)
: for the Exponential Transition Model -
getResults(WeibullTransition)
: for the Weibull Transition Model
Examples
results <- c(1.2, 1.5, 1.6)
getResults(exponential_transition(), results)
results <- c(1.2, 1.5, 1.6)
getResults(exponential_transition(), results)
results <- c(1.2, 1.5, 1.6, 2, 2.5, 1)
getResults(weibull_transition(), results)
[Package simIDM version 0.1.0 Index]