Learn R Programming

tlm (version 0.1.5)

summary.tlm: 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 tlm
summary(object, ...)
# S3 method for 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.

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

Details

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

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

Run this code
### 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)

Run the code above in your browser using DataLab