sugsvarAlloc: A function to partition the variable into relevant and...

Description Usage Arguments Value

Description

A function to partition the variable into relevant and irrelevant

Usage

1
sugsvarAlloc(D, varMarg, lognullMarg, intfeature, w)

Arguments

D

The number of variables in the data matrix

varMarg

The log marginal probability of a cluster being relevant

lognullMarg

The log marginal probability of a variable belonging to the null model

intfeature

A binary vector indicating whether features are irrelevant (0) or relevant (1).

w

A numerical vector of length 2 giving the prior probability of a variable being irrelevant or relevant. The first slot is irrelevant the second relevant.

Value

A binary vector indicating whether a variable is relevant (1) or irrelevant (0)


ococrook/sugsvarsel documentation built on May 27, 2019, 12:12 p.m.