CorrelationsTable: Generate one-vs-the-rest correlation metrics for a target...

Description Usage Arguments Value

View source: R/correlations_table.R

Description

Generate one-vs-the-rest correlation metrics for a target variable

Usage

1
2
CorrelationsTable(data, target, method = "pearson", remove.na.cols = FALSE,
  verbose = TRUE)

Arguments

data

A dataframe.

target

str. The name of the column to correlate against.

method

str. a character string indicating which correlation coefficient (or covariance) is to be computed. One of "pearson" (default), "kendall", or "spearman".

remove.na.cols

if TRUE, remove columns containing NAs.

verbose

if TRUE print names of removed columns.

Value

The original dataframe the specified columns removed.


RobertDickens/preproc documentation built on Dec. 24, 2017, 9:30 p.m.