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
Returns
If all initial data is valid, string "ok" is returned. Otherwise, error is given.
Examples
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")