specification_table | R Documentation |
StudySpecification
Produces a table (1-dimensional, or 2-dimensional if y
is specified) of the elements of the StudySpecification
.
specification_table(
specification,
x,
y = NULL,
sort = FALSE,
decreasing = TRUE,
use_var_names = FALSE,
...
)
stable(
specification,
x,
y = NULL,
sort = FALSE,
decreasing = TRUE,
use_var_names = FALSE,
...
)
specification |
A |
x |
One of "treatment", "unit of assignment", (synonym "uoa"), "block".
Abbreviations are accepted. "unit of assignment" can be replaced by
"unitid" or "cluster" if the |
y |
Optionally, another string similar to |
sort |
Ignored if |
decreasing |
If |
use_var_names |
If |
... |
additional arguments |
A table of the requested variables.
data(simdata)
spec <- obs_spec(z ~ unit_of_assignment(uoa1, uoa2) + block(bid),
data = simdata)
specification_table(spec, "treatment")
specification_table(spec, "treatment", "block", sort = TRUE, use_var_names = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.