Learn R Programming

MachineShop (version 3.8.0)

LMModel: Linear Models

Description

Fits linear models.

Usage

LMModel()

Arguments

Value

MLModel class object.

Details

Response types:

factor, matrix, numeric

Further model details can be found in the source link below.

In calls to varimp for LModel, numeric argument base may be specified for the (negative) logarithmic transformation of p-values [defaul: exp(1)]. Transformed p-values are automatically scaled in the calculation of variable importance to range from 0 to 100. To obtain unscaled importance values, set scale = FALSE.

See Also

lm, fit, resample

Examples

Run this code
fit(sale_amount ~ ., data = ICHomes, model = LMModel)

Run the code above in your browser using DataLab