stepdisc.calc {MorphoTools2}R Documentation

Stepwise Discriminant Analysis

Description

This function perform stepwise discriminant analysis.

Usage

stepdisc.calc(object, FToEnter = 0.15, FToStay = 0.15)

Arguments

object

an object of class morphodata.

FToEnter

significance levels for a variable to enter the subset.

FToStay

significance levels for a variable to stay in the subset.

Details

The stepdisc.calc function performs a stepwise discriminant analysis to select the “best” subset of the quantitative variables for use in discriminating among the groups (taxa).

Value

None. Used for its side effect.

Examples

data(centaurea)
centaurea = naMeanSubst(centaurea)
centaurea = removePopulation(centaurea, populationName = c("LIP", "PREL"))

stepdisc.calc(centaurea)

[Package MorphoTools2 version 1.0.1.1 Index]