sample_weights | R Documentation |
Derive sampling probabilities
sample_weights(had_outcome, sampled)
had_outcome |
A logical indicating if the patient has experienced the outcome or not |
sampled |
A logical indicating if a patient was sampled or not |
A numeric vector of the sampling probability
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.