bdist: An rFSA Criterion Function.

Description Usage Arguments Examples

View source: R/criterion.R

Description

rFSA Criterion Function to compute the Bhattacharyya distance.

Usage

1
bdist(model, name = "B Distance")

Arguments

model

lm or glm fit to be passed.

name

passed to print.FSA

Examples

1
2
3
4
5
6
#To use Bhattacharyya Distance and FSA the response must be binary, and you must
#be considering searching for two way continuous interactions. 
data(mtcars)
fit<-FSA(formula = "am~gear*hp",data = mtcars,
fitfunc = glm,family="binomial",m = 2,cores=1,
interactions = TRUE,criterion = bdist,minmax = "max")

rFSA documentation built on July 1, 2020, 10:30 p.m.

Related to bdist in rFSA...