Learn R Programming

FSinR (version 1.0.8)

cramer: Cramer V measure

Description

Calculates Cramer's V value Cramer1946FSinR, evaluating features individually

Usage

cramer(data, class, features)

Arguments

data
  • A data frame with the features and the class of the examples

class
  • The name of the dependent variable

features
  • The feature or features to evalute individually

Value

  • Cramer's V value for each selected feature

References

Examples

Run this code
# NOT RUN {
cramer(iris,'Species','Sepal.Length')
# }

Run the code above in your browser using DataLab