summary.tlm {tlm}R Documentation

Summarizing Linear, Logistic and Poisson Models Fits with Transformed Variables.

Description

summary method for an object created by the the function tlm.

Usage

## S3 method for class 'tlm'
summary(object, ...)
## S3 method for class 'summary.tlm'
print(x, ...)

Arguments

object

an object of class "tlm", a result of a call to tlm.

x

an object of class "summary.tlm", a result of a call to summary.tlm.

...

further additional arguments for summary and print methods.

Details

Essentially, the output of summary.lm or summary.glm is displayed. In addition, further information on the fitted model is also displayed.

Value

model

the fitted model in the transformed space.

ypow

the value of ypow.

xpow

the value of xpow.

summary

the summary of the fitted model provide by summary.lm (for gaussian response) or summary.glm (otherwise).

Author(s)

Barrera-Gomez J and Basagana X.

References

Barrera-Gomez J, Basagana X. Models with transformed variables: interpretation and software. Epidemiology. 2015;26(2):e16-17.

See Also

tlm, summary.lm, summary.glm.

Examples

### linear model with log-log transformation:
data(feld1)
modcat <-  tlm (y = logroom, x = logmattress, z = cat, data = feld1, ypow = 0, xpow = 0)
modcat
summary(modcat)

[Package tlm version 0.1.5 Index]