| plot_idiographic | R Documentation |
S3 plot() methods that render any idiographic result with
cograph::splot(). Call plot(fit) to draw the full result (every network
panel) or pass layer to draw a single network – "temporal",
"contemporaneous", "between" (mlVAR), or "residual_cov" (uSEM) – without
indexing into the object.
## S3 method for class 'var_result'
plot(x, layer = NULL, mixed = FALSE, ...)
## S3 method for class 'gvar_result'
plot(x, layer = NULL, mixed = FALSE, ...)
## S3 method for class 'var_bayes_result'
plot(x, layer = NULL, mixed = FALSE, ...)
## S3 method for class 'net_mlvar'
plot(x, layer = NULL, mixed = FALSE, ...)
## S3 method for class 'net_usem'
plot(x, layer = NULL, mixed = FALSE, ...)
## S3 method for class 'net_gimme'
plot(x, layer = NULL, weight = c("prop", "coef"), ...)
## S3 method for class 'var_list'
plot(x, subject = 1L, layer = NULL, ...)
## S3 method for class 'gvar_list'
plot(x, subject = 1L, layer = NULL, ...)
## S3 method for class 'rolling_var_result'
plot(x, fit = 1L, layer = NULL, ...)
## S3 method for class 'rolling_gvar_result'
plot(x, fit = 1L, layer = NULL, ...)
## S3 method for class 'stability_result'
plot(x, layer = NULL, ...)
x |
An idiographic result ( |
layer |
Optional network name to draw on its own. |
mixed |
If |
... |
Further arguments forwarded to |
weight |
For GIMME: |
subject |
For a |
fit |
For rolling results: the stored window fit (name or index) to
draw. Requires |
Invisibly, the object that was plotted (a cograph/ggplot object).
set.seed(1)
d <- data.frame(id = 1, A = rnorm(80), B = rnorm(80), C = rnorm(80))
fit <- fit_var(d, vars = c("A", "B", "C"), id = "id")
plot(fit)
plot(fit, layer = "temporal")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.