up_low {CommKern} | R Documentation |
Description of the bounds of grid search function.
up_low(dist_mat)
dist_mat |
a square distance matrix |
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.
a square matrix of the same dimensions of the input matrix, comprised of the sum square differences.