Description Usage Arguments Value
View source: R/correlations_table.R
Generate one-vs-the-rest correlation metrics for a target variable
1 2 | CorrelationsTable(data, target, method = "pearson", remove.na.cols = FALSE,
verbose = TRUE)
|
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. |
The original dataframe the specified columns removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.