View source: R/Aalen-Johansen.R
aalen_johansen | R Documentation |
Compute the conditional Aalen-Johansen estimator.
aalen_johansen( data, x = NULL, a = NULL, p = NULL, alpha = 0.05, collapse = FALSE )
data |
A list of trajectory data for each individual. |
x |
A numeric value for conditioning. |
a |
A bandwidth. Default uses an asymmetric version using alpha. |
p |
An integer representing the number of states. The absorbing state is last. |
alpha |
A probability around the point x, for asymmetric sub-sampling. |
collapse |
Logical, whether to collapse the last state of the model. |
A list containing the Aalen-Johansen estimator, the Nelson-Aalen estimator, and related quantities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.