Description Usage Arguments Value Note Author(s) References Examples
Checks to see if there is a confidence interval entered, if not assumes .05. Checks for validity of interval if entered.
1 | checkConfidence(confidenceInterval)
|
confidenceInterval |
The confidence interval, .05 if unentered |
Returns a confidence interval for use in functions
For use in MAT 342 functions where confidenceInterval is an optional argument.
Frederick Kaesmann Jr
My github -> https://github.com/ftkjr/SummaryPack
1 2 3 4 5 6 7 8 9 10 11 12 | ## Checking and saving a variable
confidenceInterval <- checkConfidence(confidenceInterval)
## Just Checking
checkConfidence(confidenceInterval)
## For use in a function
library(SummaryPack)
if (missing(confidenceInterval) || !missing(confidenceInterval)){
confidenceInterval <- checkConfidence(confidenceInterval)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.