plot.network
Plot a network (using the visNetwork package) from a correlation matrix supplied. Rows and columns need to be found in colnames(SPEARobj$data$train$X)
.
Plot a network (using the visNetwork package) from a correlation matrix supplied. Rows and columns need to be found in colnames(SPEARobj$data$train$X)
.
list(list("plot"), list("network"))(
correlation.matrix = NULL,
correlation.cutoff = 0.5,
allow.same.dataset = FALSE,
sign = "both"
)
Argument |Description
------------- |----------------
correlation.matrix
| Which factors to return features for? Accepts integers (i.e. factors = c(1,2,4)
or factors = 1
) Defaults to NULL
(all).
correlation.cutoff
| What is the correlation cutoff to be included in the plot? Defaults to 0.5
allow.same.dataset
| Should connections within the same dataset be plotted? Defaults to FALSE
sign
| Which direction of correlations to show? Can be "both"
(default), "pos"
(positive), or "negative"
(negative).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.