Description Usage Arguments Details Value
Updates a vector of probabilties so that one or more of the probabilities are of at least a certain size.
1 2 | updateProbs(StudyObj, probs, Cohort,
minProb = Cohort$MinAllocationProbabilities)
|
StudyObj |
A FAIRsimulator |
probs |
A vector of probabilities to be adjusted. The vector sum does not have to be 1. |
Cohort |
A FAIRsimulator |
minProb |
A vector of the same length as |
Typically used to ensure that standard of care always have a certain randomisation probability.
A vector of probabilties in which the minimum probabilties are honored and the remaining probabilities are adjusted so that the vector sum is 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.