prepData {FLR}R Documentation

Prepare Dataset

Description

Alters the dataset in a form that can be used for training and classification.

Usage

  prepData(data)

Arguments

data

an input data.frame where last instance must be the class instance and be named 'class'.

Value

return the data.frame without missing class instances and converts nominal attributes into numeric.


[Package FLR version 1.0 Index]