plot_corrplot: Plot correlations of all pairs o variables .

Description Usage Arguments Value Examples

View source: R/plot_corrplot.R

Description

Plot correlations of all pairs o variables .

Usage

1
2
plot_corrplot(dataset, columnpos = NULL, filename = NULL,
  method = "pearson")

Arguments

dataset

A numeric data frame

columnpos

In case you want to compute correlations of a subset of columns. Default NULL

filename

Optional parameter, if provided a string, it will output the plot in a pdf in the working directory. Default NULL

the

different methods possible in cor function. Default "pearson". Other possibilities are "spearman" or "kendall"

Value

If a file name is indicated, an output pdf plot. Otherwise, prints to the graphic device.

Examples

1
2
3

MoisesExpositoAlonso/moiR documentation built on Dec. 24, 2021, 10:12 p.m.