Description Usage Arguments Value Examples
Extracts the randomization probabilities from all cohorts over time.
1 2 | getProbData(StudyObj, strProb = "UnWeightedRandomizationProbabilities",
iter = NULL, ...)
|
StudyObj |
A FAIRsimulator |
strProb |
A string indicating the probabilities to extract. Possible values are "UnWeightedRandomizationProbabilities" and "RandomizationProbabilities". The former are the probabilities after adjustment for minimum allocation probabilities and the latter are the unadjusted probabilities. |
... |
Other parameters passed to |
A data.frame with columns CohortName (cohort name), Prob (probability), TreatmentName, CohortAge (cohort age group label) and RandStudyTime (the time the randomisation probabilities were set).
1 2 3 4 | ## Not run:
probData <- getProbData(StudyObj)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.