report.lm {report} | R Documentation |
Reporting (General) Linear Models
Description
Create reports for (general) linear models.
Usage
## S3 method for class 'lm'
report(x, include_effectsize = TRUE, effectsize_method = "refit", ...)
## S3 method for class 'lm'
report_effectsize(x, effectsize_method = "refit", ...)
## S3 method for class 'lm'
report_table(x, include_effectsize = TRUE, ...)
## S3 method for class 'lm'
report_statistics(
x,
table = NULL,
include_effectsize = TRUE,
include_diagnostic = TRUE,
...
)
## S3 method for class 'lm'
report_parameters(
x,
table = NULL,
include_effectsize = TRUE,
include_intercept = TRUE,
...
)
## S3 method for class 'lm'
report_intercept(x, table = NULL, ...)
## S3 method for class 'lm'
report_model(x, table = NULL, ...)
## S3 method for class 'lm'
report_performance(x, table = NULL, ...)
## S3 method for class 'lm'
report_info(
x,
effectsize = NULL,
include_effectsize = FALSE,
parameters = NULL,
...
)
## S3 method for class 'lm'
report_text(x, table = NULL, ...)
## S3 method for class 'merMod'
report_random(x, ...)
Arguments
x |
Object of class |
include_effectsize |
If |
effectsize_method |
See documentation for
|
... |
Arguments passed to or from other methods. |
table |
Provide the output of |
include_diagnostic |
If |
include_intercept |
If |
effectsize |
Provide the output of |
parameters |
Provide the output of |
Value
An object of class report()
.
See Also
Specific components of reports (especially for stats models):
Other types of reports:
Methods:
Template file for supporting new models:
Examples
library(report)
# Linear models
model <- lm(Sepal.Length ~ Petal.Length * Species, data = iris)
r <- report(model)
r
summary(r)
as.data.frame(r)
summary(as.data.frame(r))
# Logistic models
model <- glm(vs ~ disp, data = mtcars, family = "binomial")
r <- report(model)
r
summary(r)
as.data.frame(r)
summary(as.data.frame(r))
# Mixed models
library(lme4)
model <- lme4::lmer(Sepal.Length ~ Petal.Length + (1 | Species), data = iris)
r <- report(model)
r
summary(r)
as.data.frame(r)
summary(as.data.frame(r))
[Package report version 0.5.9 Index]