kernel {CommKern}R Documentation

Distance-based kernel

Description

Description of the distance-based kernel function

Usage

kernel(mat, rho)

Arguments

mat

a distance-based matrix

rho

a bandwidth/scaling parameter whose optimal value is solved for within the larger score function

Details

This is an ancillary function that is passed into the score function, used for calculating the distance-based kernel.

The function returns an m x m matrix (where m is the number of networks) to be used as input for the kernel function.

Value

the value of the kernel


[Package CommKern version 1.0.1 Index]