calcor: Automatic judgment of ordinal scale and nominal scale and...

Description Usage Arguments Author(s) Examples

Description

Automatic judgment of ordinal scale and nominal scale and calculation of p-value from association. Calculate the relationship between all order scales and nominal scales for explanatory variables specified in formula form and calculate p values.

Usage

1
calcor(formula, data, OOmethod = "Kendall", OFmethod = "Kruskal-Wallis", FFmethod = "Fisher")

Arguments

formula

An object class formula. Enter the object variable on the left side.

data

Data frame.

OOmethod

Relational calculation method of order scale and order scale. Default is Kendall. As another method, Spearman can be used.

OFmethod

Relational calculation method of order scale and nominal scale. Default is Kruskal-Wallis.

FFmethod

Relational calculation method of nominal scale and nominal scale. Default is Fisher. As another method, chisq can be used.

Author(s)

Toshihiro Iguchi

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
result1 <- calcor(Petal.Length~., iris)
summary(result1)
plot(result1)
slideshow(result1)


result2 <- calcor(Species~., iris)
summary(result1)
plot(result2)
slideshow(result2)

ToshihiroIguchi/calcor documentation built on May 12, 2019, 1:08 p.m.