Learn R Programming

reghelper (version 0.3.3)

print.block_glm_summary: Summarizing block general linear models.

Description

print method for class "block_glm_summary".

Usage

# S3 method for block_glm_summary
print(x, digits = max(3L, getOption("digits") -
  3L), signif.stars = getOption("show.signif.stars"), ...)

Arguments

x

An object of class "block_glm_summary", usually, a result of a call to summary.block_glm.

digits

The number of significant digits to use when printing.

signif.stars

Logical. If TRUE, 'significance stars' are printed for each coefficient.

...

Further arguments passed to or from other methods.

See Also

build_model, summary.block_glm

Examples

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