plot.specr.setup | R Documentation |
This function plots a visual summary of the specification setup.
It requires an object of class specr.setup
, usually
the result of calling setup()
.
## S3 method for class 'specr.setup' plot(x, layout = "dendrogram", circular = FALSE, ...)
x |
A |
layout |
The type of layout to create for the garden of forking path. Defaults to "dendrogram". See |
circular |
Should the layout be transformed into a radial representation. Only possible for some layouts. Defaults to FALSE. |
... |
further arguments passed to or from other methods (currently ignored). |
A ggplot object that can be customized further.
## Not run: specs <- setup(data = example_data, x = c("x1", "x2", "x3"), y = c("y1", "y2"), model = c("lm", "glm"), controls = "c1", subsets = list(group2 = unique(example_data$group2))) plot(specs) plot(specs, circular = TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.