getBdim: Accessor for 'bdim' slot

getBdimR Documentation

Accessor for 'bdim' slot

Description

This function outputs dimensionality of blocks of variable block structure.

Usage

getBdim(object)

## S4 method for signature 'VB'
getBdim(object)

## S4 method for signature 'HMMVB'
getBdim(object)

Arguments

object

Object of class "VB" or "HMMVB".

Examples

# accessing bdim in instance of class VB
Vb <- vb(2, dim=10, bdim=c(4,6), numst=c(3,11), varorder=list(c(1:4),c(5:10)))
getBdim(Vb)

# accessing bdim in instance of class HMMVB 
data("sim3")
Vb <- vb(2, dim=40, bdim=c(10,30), numst=c(3,5), varorder=list(c(1:10),c(11:40)))
set.seed(12345)
hmmvb <- hmmvbTrain(sim3[,1:40], VbStructure=Vb)
getBdim(hmmvb)  
    

HDclust documentation built on Sept. 20, 2024, 5:09 p.m.