Learn R Programming

tlm (version 0.2.0)

summary.tlm: Summarizing the Model Fitting

Description

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

Usage

# S3 method for tlm
summary(object, ...)

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

Value

A list with class "summary.tlm" including the following items:

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

Arguments

object

an object of class "tlm", an output of the tlm function.

...

additional arguments.

x

an object of class "summary.tlm" (an output of summary.tlm).

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, effectInfo, MY.

Examples

Run this code
### linear model with log-log transformation:
data(feld1)
modcat <- tlm(logroom ~ logmattress + cat, data = feld1, ypow = 0, xpow = 0)
modcat
summary(modcat)

Run the code above in your browser using DataLab