subsetByClassHelper3 {dsBase} | R Documentation |
This is an internal function called by the function 'subsetByClassDS'
subsetByClassHelper3(df = NULL, indx1 = NULL, filter = NULL)
df |
a data frame. |
indx1 |
the column index of the variable specified by the user. |
filter |
the minimum number of observations (i.e. rows) that are allowed. |
The function generates subsets if the input of 'subsetByClassDS' is a data frame and if the number of variables (columns) to subset by is 1; i.e. this function is called if the user specified one variable to subset by.
a list which contains the subsets, their names and an integer that indicates if the variable specified by user is a factor.
Gaye, A.