View source: R/func_input_checks.R
func_input_checks | R Documentation |
Internal, auxiliary functions
func_input_checks(data, signal, response, side_variables)
data |
is an input object that should be a data.frame |
signal |
is a character object that indicates input columns of data |
response |
is a character vector that indicates output's columns of data |
side_variables |
is a character vector that indicates side variables' columns of data |
If all initial data is valid, string "ok" is returned. Otherwise, error is given.
data=data_example1
SLEMI:::func_input_checks(data=data,signal="signal",
response="response",side_variables="sideVar")
# The following examples will give errors, because the data has
# inconsistent format for the analysis. Only to check the adequacy of
# initial checks.
# data=as.matrix(data_example1)
# SLEMI:::func_input_checks(data=data,signal="signal",
# response="response",side_variables="sideVar")
# data=data_example1
# SLEMI:::func_input_checks(data=data,signal="input",
# response="response",side_variables="sideVar")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.