View source: R/MakeDecisionBasedOnPostProb.R
MakeDecisionBasedOnPostProb.MAVTarget | R Documentation |
This function will make the Go/NoGo decision based on one posterior probability,
Pr( \theta
> MAV |data ) where \theta
is the
parameter of interest. Based on this probability the following decisions are made
Decision | |
Pr( \theta > MAV |data ) > dPUpperCutoff | Go |
Pr( \theta > MAV |data ) < dLowerCutoff | No Go |
Otherwise | Pause |
## S3 method for class 'MAVTarget'
MakeDecisionBasedOnPostProb(cAnalysis, lCalcs)
cAnalysis |
The analysis object. |
lCalcs |
a list with dPrGrtMAV, dPUpperCutoff, dLowerCutoff |
Return List of ( nGo, nNoGo, nPause ). Only one of the elements should be 1 to reflect the decision.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.