Learn R Programming

CommKern (version 1.0.1)

up_low: Bounds of grid search function

Description

Description of the bounds of grid search function.

Usage

up_low(dist_mat)

Value

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

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.