kmmd: Compute the kmmd for one sample 'y'

View source: R/mmd.R

kmmdR Documentation

Compute the kmmd for one sample y

Description

Compute the kmmd for one sample y

Usage

kmmd(y, w_y = NULL, var = 1, threshold = Inf, approx_exp = 0)

Arguments

y

either a numeric vector or matrix with number of rows equal to number of observations and number of columns equal to dimension of observations.

w_y

numeric weights for y.

var

matrix kernel variance covariance matrix.

threshold

numeric filter out values for exponentiation.

approx_exp

integer; if 0 the usual function for the exponential distribution is used; if 1 a much faster but less accurate version of the exponential distribution is used.


AnthonyEbert/EasyMMD documentation built on March 29, 2022, 8:55 p.m.