separaDados: Data Separates
Description
divides the dataFrame as the percentage defined in percTraining enabling apply and measure the performance of the regression equation.
Usage
separaDados(dataFrame, fieldName, percTraining = 0.7, seed = NULL)
Arguments
fieldName
column of dataFrame that will be applied regression
percTraining
percentage that will be reserved for training (default 0.70)
seed
integer that determines how the sample is randomly chosen (default NULL)