View source: R/visualization_utilities.R
plot_estimated_cor_network | R Documentation |
Based on approximation via simulation specified by given simulation design.
Convenience wrapper for combining estimate_final_correlation
and
plot_cor_network
.
plot_estimated_cor_network(
obj,
n_obs = 1e+05,
cor_type = "pearson",
seed = NULL,
show_categorical = TRUE,
return_network = FALSE,
...
)
obj |
S3 class object of type |
n_obs |
Number of observations to simulate. |
cor_type |
Can be either a character ( |
seed |
Random number seed. NULL does not change the current seed. |
show_categorical |
If TRUE, marks categorical variables differently from numeric ones.
Determined by the |
return_network |
If TRUE, the |
... |
Passed to |
This function is useful to estimate the correlation network of a simulation
setup after the initial underlying distribution Z
has been transformed to
the final dataset X
.
If return_network
is TRUE
, then an igraph
network object is returned
that can be plotted by the user using e.g. the interactive
igraph::tkplot
function. Otherwise, the network
object is plotted directly and no output is returned.
plot_cor_network
,
estimate_final_correlation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.