bdist {rFSA} | R Documentation |
An rFSA Criterion Function.
Description
rFSA Criterion Function to compute the Bhattacharyya distance.
Usage
bdist(model, name = "B Distance")
Arguments
model |
lm or glm fit to be passed. |
name |
passed to print.FSA |
Examples
#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")
[Package rFSA version 0.9.6 Index]