plot.corrgrapher {corrgrapher}R Documentation

Visualize correlations in a corrgrapher object

Description

Visualize correlations between variables, using previously created corrgrapher object.

Usage

## 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

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

[Package corrgrapher version 1.0.4 Index]