glog: Glog transformation for linear models

Description Usage Arguments Value References Examples

View source: R/Glog.R

Description

The function transforms the dependent variable of a linear model using the Glog transformation.

Usage

1
glog(object)

Arguments

object

an object of type lm.

Value

An object of class trafo. Methods such as as.data.frame.trafo and print.trafo can be used for this class.

References

Durbin BP, Hardin JS, Hawkins DM, Rocke DM (2002). A Variance-stabilizing Transformation for Gene-expression Microarray Data. Bioinformatics, 18, 105-110.

Examples

1
2
3
4
5
6
7
8
# Load data
data("cars", package = "datasets")

# Fit linear model
lm_cars <- lm(dist ~ speed, data = cars)

# Transform dependent variable 
glog(object = lm_cars)

trafo documentation built on May 2, 2019, 2:13 p.m.

Related to glog in trafo...