lm2fit: Fits the specified model and computes stats

View source: R/bidimensional.R

lm2fitR Documentation

Fits the specified model and computes stats

Description

Calls a specific transformation model function and then computes statistics that is common across all transformations. This function should not be called directly, please use lm2.

Usage

lm2fit(data, transformation)

Arguments

data

the preprocessed data frame from lm2 function, so that the first two columns are the dependent variables and the other two are independent variables

transformation

the transformation to be used, either 'euclidean' or 'affine'.

Value

returns an object of class "lm2", see lm2 for the description.


BiDimRegression documentation built on March 18, 2022, 6:29 p.m.