kyotil (version 2016.11-9)

stat.functions: 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, ...)
"cor.mixed" (x, na.fun, method=c("pearson","spearman"), ...) "cor.mixed" (x, y, na.fun, method=c("pearson","spearman"), ...) "cor.mixed" (formula, data, na.fun, method=c("pearson","spearman"), ...)
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

two.way.table

x

...

na.fun

method

y

formula

data

two.by.two.matrix

weight

maximum

Examples

Run this code
H(rep(1/5,5))
H(rep(3,5))

Run the code above in your browser using DataLab