R: Define a loglinear formula for classification models

sits_formula_logref {sits} | R Documentation

## Define a loglinear formula for classification models

### Description

A function to be used as a symbolic description of some fitting models such as svm and random forest. This function tells the models to do a log transformation of the inputs. The 'predictors_index' parameter informs the positions of 'tb' fields corresponding to formula independent variables. If no value is given, the default is NULL, a value indicating that all fields will be used as predictors.

### Usage

    sits_formula_logref(predictors_index = -2:0)

### Arguments

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

### Value

A function that computes a valid formula.

### Author(s)

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

Rolf Simoes, rolf.simoes@inpe.br

[Package sits version 0.11.0 Index]