Learn R Programming

roots (version 1.0)

applyGaussianKernelwithVariableSigma: Apply Gaussian Kernel using Laleh Haghverdi's variable sigma

Description

Apply Gaussian Kernel using Laleh Haghverdi's variable sigma

Usage

applyGaussianKernelwithVariableSigma(d2, rsigmas, csigmas = NULL)

Arguments

d2

Squared distance metric

rsigmas

Sigmas for cells in the rows

csigmas

Sigmas for cells in the columns

Value

Returns matrix of same size as d2.

Details

Apply Gaussian Kernel using Laleh Haghverdi's variable sigma

Examples

Run this code
# NOT RUN {
d <- applyGaussianKernelwithVariableSigma(dist, sigmas)
# }

Run the code above in your browser using DataLab