kern2dist: Convert a kernel matrix to a distance matrix

Description Usage Arguments Value

View source: R/utilities.R

Description

Convert a kernel matrix to a distance matrix

Usage

1
kern2dist(K, center = TRUE, method = c("cs", "norm"))

Arguments

K

a kernel matrix

center

should the kernel be centered first? defaults to TRUE.

method

one of "cs" or "norm"

Value

a matrix


abnormally-distributed/cvreg documentation built on May 3, 2020, 3:45 p.m.