Skip to contents

Get logistic models of all feature subsets within a scope

Usage

model.subset.logistic(
  data,
  out.col = which(colnames(data) == "class"),
  min = 1,
  max = floor(dim(data)[1]/5)
)

Arguments

data

a data frame with a class column

out.col

what column holds the class

min

minimum number of variables

max

maximum number of variables

Value

list of models, ranked by McFadden's pseudo R squared