plot.corrgrapher: Visualize correlations in a corrgrapher object

Description Usage Arguments Value See Also Examples

View source: R/plot_corrgraph.R

Description

Visualize correlations between variables, using previously created corrgrapher object.

Usage

1
2
## S3 method for class 'corrgrapher'
plot(x, ...)

Arguments

x

a corrgrapher object. See corrgrapher.

...

other parameters, passed directly to visNetwork function (such as main, submain, width, height etc.)

Value

A visNetwork object; graph. On this graph, the edges are treated as springs. The variables correlated strongly (positively or negatively) are close to each other, and those not (or weakly) correlated - far from each other.

See Also

corrgrapher

Examples

1
2
3
df <- as.data.frame(datasets::Seatbelts)[,1:7] # drop the binary target variable
cgr <- corrgrapher(df)
plot(cgr)

corrgrapher documentation built on Oct. 23, 2020, 8:14 p.m.