R/compare.all.trees.R

Defines functions compare.all.trees

Documented in compare.all.trees

compare.all.trees <-
function(treeset, ...) {
  ntrees = length(treeset)
  outmat = matrix(NA, ntrees, ntrees)
  for(i in 1:ntrees) {
   for(j in 1:i) {
    outmat[i, j] <- all.equal(treeset[[i]], treeset[[j]], ...)
	} # close j
  } # close i
  outmat
  }

Try the RADami package in your browser

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

RADami documentation built on May 30, 2017, 8:23 a.m.