Learn R Programming

MorphoTools2 (version 1.0.2.1)

stepdisc.calc: Stepwise Discriminant Analysis

Description

This function perform stepwise discriminant analysis.

Usage

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

Value

None. Used for its side effect.

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).

Examples

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

stepdisc.calc(centaurea)

Run the code above in your browser using DataLab