nonpar: Nonparametric Random Graph Testing Wrapper function to take...

Description Usage Arguments

View source: R/nonpar.R

Description

Nonparametric Random Graph Testing Wrapper function to take in two graphs and run the nonpar test with alignment; however it may be more useful to use nonpar.test directly after alignment

Usage

1
2
3
nonpar(A, B, d = 5, nsims = 100, Q_init = NULL, lambda_init = 0.5,
  lambda_final = 0.01, eta = 0.5, eps = 0.01, numReps = 20,
  match = FALSE, alpha = 0.05)

Arguments

A

An adjacency matrix

B

another adjacency matrix

d

the (known) dimension

nsims

the number of permutations to run

Q_init

initial guess for orthogonal matrix

lambda_init

initial value of lambda for regularized sinkhorn problem

lambda_final

final value of lambda

eta

decay rate of the lambdas

eps

tolerance

numReps

reps in the iterative sinkhorn divergence problem

match

If true, run a optimal-transport procrustes

alpha

the type one error


jagterberg/nonparGraphTesting documentation built on Feb. 4, 2022, 1:31 a.m.