R: Define a linear formula for classification models

sits_formula_linear {sits} | R Documentation

## Define a linear formula for classification models

### Description

Provides a symbolic description of a fitting model. Tells the model to do a linear transformation of the input values. The 'predictors_index' parameter informs the positions of fields corresponding to formula independent variables. If no value is given, that all fields will be used as predictors.

### Usage

    sits_formula_linear(predictors_index = -2:0)

### Arguments

`predictors_index` | Index of the valid columns whose names are used to compose formula (default: -2:0).

### Value

A function that computes a valid formula.

### Author(s)

Gilberto Camara, gilberto.camara@inpe.br

Alexandre Ywata de Carvalho, alexandre.ywata@ipea.gov.br

Rolf Simoes, rolf.simoes@inpe.br

[Package sits version 0.13.0 Index]