subsetByClassHelper3 {dsBase}R Documentation

generates subset tables from a data frame

Description

This is an internal function called by the function 'subsetByClassDS'

Usage

subsetByClassHelper3(df = NULL, indx1 = NULL, filter = NULL)

Arguments

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.

Details

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.

Value

a list which contains the subsets, their names and an integer that indicates if the variable specified by user is a factor.

Author(s)

Gaye, A.


[Package dsBase version 4.0.0 ]