kernels.and.distances | R Documentation |
Internal LPCM functions which are normally not to be called by the user.
kern(y, x = 0, h = 1)
kernd(X, x, h)
kdex(X, x, h)
distancevector(X, y, d = "euclid", na.rm = TRUE)
vecdist(X,Y)
mindist(X,y)
enorm(x)
x |
a number or vector. |
y |
a vector. |
h |
a bandwidth. |
X |
a matrix. |
Y |
a matrix. |
d |
type of distance measure (only ‘euclid’). |
na.rm |
... |
kern
specifies the base kernel (by default Gaussian) used in
lpc
; kernd
is the corresponding multivariate product
kernel. kdex
is a pointwise multivariate kernel density estimator.
distancevector
makes use of function vdisseuclid
from R package hopach (but that package does not need to be loaded). enorm
is the Euclidean norm.
JE
Pollard, van der Laan, and Wall (2010). Hierarchical Ordered Partitioning and Collapsing Hybrid (HOPACH). R package hopach version 2.9.1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.