Learn R Programming

trafo (version 1.0.1)

woparam.lm: Transformations without parameter for linear models

Description

The function transforms the dependent variable of a linear model using different transformations without parameter.

Usage

# S3 method for lm
woparam(object, trafo, custom_trafo = NULL, ...)

Arguments

object

an object of type lm.

trafo

character that determines the transformation.

custom_trafo

a function that specifies a transformation without parameter that needs to be estimated or given.

...

other parameters that can be passed to the function.

Value

an object of class trafo.