powered by
Function to return the 'Partition' distance between two objects. Used for Bayesian Networks with the 'partition-MCMC' algorithm.
partitionDist(x, y)
Numeric, Partition distance between x and y.
Data.frame with columns node and partition
Data.frame with columns node and partition. Same nrows as x.
x <- bnMCMCResults[[1]][[1]] y <- bnMCMCResults[[1]][[100]] partitionDist(x, y)
Run the code above in your browser using DataLab