kunif: Central Moments of a Uniform Distribution

View source: R/kunif.R

kunifR Documentation

Central Moments of a Uniform Distribution

Description

Returns the central moments of a uniform distribution

Usage

kunif(min, max, k)

Arguments

min, max

lower and upper limits of the distribution. Must be finite.

k

k central moment, must be even

Value

kth central moment

Author(s)

Jarrod Hadfield j.hadfield@ed.ac.uk

See Also

dunif

Examples

kunif(-1,1,4)
y<-runif(1000,-1,1)
mean((y-mean(y))^4)

MCMCglmm documentation built on July 9, 2023, 5:24 p.m.

Related to kunif in MCMCglmm...