kyotil (version 2016.11-9)

math.functions: Math Functions

Description

H calculates entropy.

Usage

as.binary(n, base = 2, r = FALSE)
binom.coef(n, m)
expit(x)
logDiffExp(logx1, logx2)
logit(x)
logMeanExp(logx, B = NULL)
logSumExp(logx)
logSumExpFor2(logx, logy)
permn(x, fun = NULL, ...)
Stirling2(n, m)
interpolate(pt1, pt2, x)

Arguments

n

base

r

m

pt1
a vector of length 2
pt2
a vector of length 2
x

logx1

logx2

logx

B

logy

fun

...

Examples

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

Run the code above in your browser using DataLab