fitLM: wrapper around the lm() function to streamline it's use a bit

View source: R/regressionTools.R

fitLMR Documentation

wrapper around the lm() function to streamline it's use a bit

Description

wrapper around the lm() function to streamline it's use a bit

Usage

fitLM(fitTable, predictorColumn = 1, responseColumn = 2, weights = NULL)

Arguments

fitTable

data.frame containing the data to be fitted

predictorColumn

can be integer (column number) or character (column name)

responseColumn

can be integer (column number) or character (column name)

weights

default = NULL, otherwise must be integer to give weights to the predictor values (see also function weightsVector) or a numeric vector with length = number of rows in calibrationTable

@returns fit object of type "lm" @export


BenBruyneel/BBPersonalR documentation built on Aug. 23, 2024, 8:28 p.m.