math: Math Functions

math.functionsR Documentation

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

tbdn

base

tbdbase

r

tbdr

m

tbdm

pt1

a vector of length 2

pt2

a vector of length 2

x

tbdx

logx1

tbdlogx1

logx2

tbdlogx2

logx

tbdlogx

B

tbdB

logy

tbdlogy

fun

tbdfun

...

tbd...

Examples

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

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