DClusterm (version 1.0-1)

computeprob: Computes the probability that a model parameter is <=k from inla marginals

Description

This function will be used to calculate the P(coeficient variable cluster <=0)

Usage

computeprob(func, k)

Arguments

func

is the inla marginals of the model parameter

k

is the cutoff

Value

probability model coefficient <=k