lm2fit: Fits the specified model and computes stats

Description Usage Arguments Value

View source: R/bidimensional.R

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

1
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.


alexander-pastukhov/bidim-regression documentation built on May 12, 2018, 3:04 a.m.