association: association

Description Usage Arguments Details Value Author(s)

View source: R/association.R

Description

association Computes and summarizes an association matrix

Usage

1
association(x, target = NULL, threshold = 0, bigMatrix = 10)

Arguments

x

dataframe containing data to be analyzed. Categorical variables must be factors.

target

optional character string containing the column name for the target variable. If this is provided, the target variable will be excluded from the analysis. Submit the target variable when analyzing associations only among predictors.

threshold

numeric indicating the minimum association threshold to be reported in the association table.

bigMatrix

Numeric indicating the number of terms, above which, the terms are replaced by short labels for association plotting.

Details

Creates a association matrix and summarizes pairwise associations in a association table.

Value

List containing the association matrix and pairwise association table. If there are greater than 10 variables, the variable names are replaced by a 2-3 character label for plotting purposes.

Author(s)

John James, jjames@datasciencesalon.org


DataScienceSalon/analyzR documentation built on May 7, 2019, 7:40 a.m.