validUDinput | R Documentation |
upndown
Validation of input values
validUDinput(cdf, target)
checkTarget(target, tname = "Target")
checkCDF(cdf, flatOK = TRUE)
checkNatural(k, parname, toolarge = 1000)
checkDose(x, maxfrac = 0.9)
checkResponse(y)
cdf |
vector of values, should be nondecreasing between 0 and 1 (inclusive) |
target |
numeric value(s), should be between 0 and 1 (exclusive) |
flatOK |
logical ( |
k |
( |
parname , tname |
string, name of variable to plug in for reporting the error back |
toolarge |
( |
x |
( |
maxfrac |
( |
y |
( |
If a validation issue is found, these functions stop with a relevant error message. If no issue is found, they run through without returning a value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.