kmmd: Compute the kmmd for one sample 'y'

Description Usage Arguments

View source: R/mmd.R

Description

Compute the kmmd for one sample y

Usage

1
kmmd(y, 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.

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 May 29, 2018, 8:05 a.m.