View source: R/7Step3Probabilities.r
probabilities | R Documentation |
probabilities
calculates initial state and transition probabilities for given covariate scores and time interval for the step3
estimates.
probabilities(
model,
deltaT = 1,
initialCovariateScores = NULL,
transitionCovariateScores = NULL,
rounding = 2
)
model |
The model estimated with |
deltaT |
The interval for which the transition probabilities should be calculated (must be a single scalar). |
initialCovariateScores |
The covariate scores for which the probabilities should be calculated (must be a vector with a length equal to the number of covariates that were used for the estimation with |
transitionCovariateScores |
The covariate scores for which the probabilities should be calculated (must be a vector with a length equal to the number of covariates that were used for the estimation with |
rounding |
The number of decimals to which the results should be rounded (must be a single scalar). |
## Not run:
Probs <- probabilities(model,
deltaT = 1,
initialCovariateScores = NULL,
transitionCovariateScores = NULL,
rounding = 4
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.