Visualize correlations between variables, using previously created corrgrapher object.

# S3 method for 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

Examples

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