vcramer: Cramer Values

Description Usage Arguments Value Examples

View source: R/UnivariateFactor.R

Description

Calulates the cramer's V values between two categorical variables

Usage

1
vcramer(object, var = FALSE)

Arguments

object

An object of class ccdata

var

A data vector of an active categorical variable

Value

table of Cramer'V values for all categorical variables or only selected one

Examples

1
2
3
4
data(BankCustomer)
obj <- Dataset(BankCustomer, BankCustomer$Cluster)
vcramer(obj) #for all the cramer value by variables
vcramer(obj, BankCustomer$profession) #For one categorical variable

adrienPAVOINE/ClustCheck documentation built on Dec. 31, 2020, 6:45 p.m.