print
method for class "block_lm_summary
".
# S3 method for block_lm_summary
print(x, digits = max(3L, getOption("digits") -
3L), signif.stars = getOption("show.signif.stars"), ...)
An object of class "block_lm_summary
", usually, a result
of a call to summary.block_lm
.
The number of significant digits to use when printing.
Logical. If TRUE
, 'significance stars' are printed
for each coefficient.
Further arguments passed to or from other methods.
# NOT RUN {
# 2 blocks: Petal.Length; Petal.Length + Petal.Width
model1 <- build_model(Sepal.Length, Petal.Length, Petal.Width, data=iris, model='lm')
summary(model1)
coef(model1)
# 2 blocks: Species; Species + Petal.Length + Petal.Width + Petal.Length:Petal.Width
model2 <- build_model(Sepal.Length, Species, c(Petal.Length * Petal.Width), data=iris, model='lm')
summary(model2)
coef(model2)
# }
Run the code above in your browser using DataLab