sptree_prior: Compute the spanning tree prior of a solution over a range of...

View source: R/sptree.R

sptree_priorR Documentation

Compute the spanning tree prior of a solution over a range of k value

Description

This function compute the spanning tree prior of a solution

Usage

sptree_prior(sol, k_max)

Arguments

sol

a gtclust bayesian clustering solution

k_max

the maximum value of k for which the prior should be calculated

Value

the log of the prior


comeetie/gtclust documentation built on Sept. 17, 2024, 12:45 a.m.