stat.functions {kyotil}R Documentation

Stat Functions

Description

H calculates entropy.

Usage


H(p, logbase = c("e", "2"))

mutual.info(two.way.table, logbase = c("e", "2"))

cor.mixed(x, ...)

## Default S3 method:
 cor.mixed(x, na.fun, method=c("pearson","spearman"), ...)
## S3 method for class 'vector'
 cor.mixed(x, y, na.fun, method=c("pearson","spearman"), ...) 
## S3 method for class 'formula'
 cor.mixed(formula, data, na.fun, method=c("pearson","spearman"), ...) 

skew (x, na.rm = FALSE) 

info.cor(two.way.table)

yule.y(two.by.two.matrix)

kappa.cor(two.by.two.matrix, weight = c(1, 1), maximum = FALSE)

l.measure(two.by.two.matrix)

Arguments

p

either a count vector or a probability vector, but can not be a vector of membership indicator

logbase
na.rm
two.way.table
x
...
na.fun
method
y
formula
data
two.by.two.matrix
weight
maximum

Examples

H(rep(1/5,5))
H(rep(3,5))

[Package kyotil version 2018.10-17 Index]