summary.specr.setup | R Documentation |
summary
method for class "specr.setup". Provides a short summary of the
created specifications (the "multiverse") that lists all analytic choices, prints
the function used to extract the parameters from the model. Finally, if
print.specs = TRUE
, it also shows the head of the actual specification grid.
## S3 method for class 'specr.setup'
summary(object, digits = 2, rows = 6, print.specs = TRUE, ...)
object |
An object of class "specr.setup", usually, a result of a call to |
digits |
The number of digits to use when printing the specification table. |
rows |
The number of rows of the specification tibble that should be printed. |
print.specs |
Logical value; if |
... |
further arguments passed to or from other methods (currently ignored). |
A printed summary of an object of class specr.setup
.
The function setup()
, which creates the "specr.setup" object.
# Setup specifications
specs <- setup(data = example_data,
x = c("x1", "x2"),
y = c("y1", "y2"),
model = c("lm", "glm"),
controls = c("c1", "c2", "c3"),
subsets = list(group3 = unique(example_data$group3)))
# Summarize specifications
summary(specs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.