Learn R Programming

sBIC (version 0.2.0)

getSupport: Get support for a given model.

Description

Given a model number returns the support of the model. Let E by the matrix of edges returned by this$getAllEdges(), the support is represented by a 0-1 vector v where the ith entry of v is 1 if the ith edge in E is in the model and is 0 otherwise.

Usage

getSupport(this, model)
"getSupport"(this, model)

Arguments

this
the LatentForests object.
model
the model number.