Learn R Programming

DiscriMiner (version 0.1-22)

corRatio: Correlation Ratio

Description

Calculates the correlation ratio between a quantitaive variable and a qualitative variable

Usage

corRatio(variable, group)

Arguments

variable
a single quantitative variable
group
vector or factor with group memberships (qualitative variable)

Details

No missing values are allowed

References

Tenenhaus, M. (2007) Statistique. Dunod, Paris.

See Also

FRatio, discPower

Examples

Run this code
# iris dataset 
  data(iris)
  
  # correlation ratio between Petal-Length and Species
  corRatio(iris$Petal.Length, iris$Species)

Run the code above in your browser using DataLab