CheckDataRegression {sharp} | R Documentation |
Checking input data (regression model)
Description
Checks if input data formats are appropriate. For inappropriate inputs, this function (i) fixes the data format, or (ii) stops the run and generates an error message.
Usage
CheckDataRegression(xdata, ydata = NULL, family = "gaussian", verbose = TRUE)
Arguments
xdata |
matrix of predictors with observations as rows and variables as columns. |
ydata |
optional vector or matrix of outcome(s). If |
family |
type of regression model. This argument is defined as in
|
verbose |
logical indicating if a loading bar and messages should be printed. |
[Package sharp version 1.4.7 Index]