stat: Stat Functions

stat.functionsR 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)

kappacor(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

tbdlogbase

na.rm

tbdlogbase

two.way.table

tbdtwo.way.table

x

tbdx

...

tbd...

na.fun

tbdna.fun

method

tbdmethod

y

tbdy

formula

tbdformula

data

tbddata

two.by.two.matrix

tbdtwo.by.two.matrix

weight

tbdweight

maximum

tbdmaximum

Examples

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

kyotil documentation built on Nov. 28, 2023, 1:09 a.m.