View source: R/print.decomposition.R
print.decomposition | R Documentation |
decomposition
objects.Print function for decomposition
objects.
## S3 method for class 'decomposition'
print(x, ...)
x |
Object of type |
... |
Currently unused |
Invisibly returns x
as the function is called for side effects.
data(housing)
# Linear regression & decompose
fit.lm <- lm(bmi ~ sex + tenure + place + age,data = housing)
contrib.lm <- contribution(fit.lm, housing$income)
# print
print(contrib.lm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.