R/FR.R

Defines functions FR_cat FR

Documented in FR FR_cat

################################################################################
##                        Friedman and Rafsky (1979)                          ##
##                                                                            ##
################################################################################
FR <- function(X1, X2, dist.fun = stats::dist, graph.fun = MST, 
               n.perm = 0, dist.args = NULL, graph.args = NULL, seed = 42) {
  gTestWrapper(X1, X2, dist.fun, graph.fun, n.perm, dist.args, graph.args, 
               type = "original", seed = seed)
}

FR_cat <- function(X1, X2, dist.fun, agg.type, graph.type = "mstree", 
                   K = 1, n.perm = 0, seed = 42) {
  gTestWrapperCat(X1, X2, dist.fun, agg.type, graph.type, K, n.perm, 
                  type = "original", seed = seed)
}

Try the DataSimilarity package in your browser

Any scripts or data that you put into this service are public.

DataSimilarity documentation built on April 3, 2025, 9:39 p.m.