up_low {CommKern}R Documentation

Bounds of grid search function

Description

Description of the bounds of grid search function.

Usage

up_low(dist_mat)

Arguments

dist_mat

a square distance matrix

Details

This ancillary function finds the upper and lower bounds of the grid search implemented in the kernel score test.

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

a square matrix of the same dimensions of the input matrix, comprised of the sum square differences.


[Package CommKern version 1.0.1 Index]