Description Usage Arguments Details Value Author(s) See Also Examples
This function is used to perform checks on the structure of the macro format dataset
produced by the user-supplied macro code in analyzeData
.
1 |
data |
(Required) Dataset to be checked to ensure it is a valid "Macro Evaluation" structure |
The checkMacroFormat
function checks that the data passed to it is a valid
"Macro Evaluation" structure.
A valid "Macro Evaluation" structure is an R data frame containing only 1 row of data.
Nothing. Only used for error generation side effects.
Mike K Smith mstoolkit@googlemail.com
1 2 3 4 5 6 7 8 9 10 11 | checkMacroFormat(iris[1,])
## Not run:
# not a data frame
checkMacroFormat( 1:10 )
# more than one row
checkMacroFormat(iris[1:2,])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.