View source: R/weighted_helpers.R
| get_weights | R Documentation |
Calculates weights for a specified scheme at given time points.
get_weights(scheme, scheme_params, S.pool, tpoints)
scheme |
Character string specifying the weighting scheme. |
scheme_params |
List of parameters for the scheme. |
S.pool |
Numeric vector of pooled survival probabilities. |
tpoints |
Numeric vector of time points. |
Numeric vector of weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.