Learn R Programming

tlm (version 0.1.2)

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

Value

  • modelthe fitted model in the transformed space.
  • ypowthe value of ypow.
  • xpowthe value of xpow.
  • summarythe 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. Interpretation of effects in linear, logistic and Poisson models with transformed variables: guidance for practice and software. (submitted).

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