Description Usage Arguments Examples
Output a network plot of a correlation data frame in which variables that are more highly correlated appear closer together and are joined by stronger paths. Paths are also coloured by their sign (blue for positive and red for negative). The proximity of the points are determined using multidimensional clustering.
1 2 3 
rdf 
Correlation data frame (see 
min_cor 
Number from 0 to 1 indicating the minimum value of correlations (in absolute terms) to plot. 
legend 
Boolean indicating whether a legend mapping the colours to the correlations should be displayed. 
colours, colors 
Vector of colours to use for ncolour gradient. 
repel 
Should variable labels repel each other? If TRUE, text is added
via 
curved 
Should the paths be curved? If TRUE, paths are added via

1 2 3 4 5  x < correlate(mtcars)
network_plot(x)
network_plot(x, min_cor = .1)
network_plot(x, min_cor = .6)
network_plot(x, min_cor = .7, colors = c("red", "green"), legend = TRUE)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.