DirScore {STAN} | R Documentation

## Get directionality score of a bdHMM

### Description

This function returns the directionality score of a bdHMM.

### Usage

    DirScore(bdhmm)

### Arguments

`bdhmm` | An object of class bdHMM.

### Value

Directionality score of the bdHMM after model fitting.

### Examples

    data(example)
    bdhmm_ex = initBdHMM(observations, dStates=3, method="Gaussian", directedObs=0)

    # without flags
    bdhmm_fitted_noFlags = fitHMM(observations, bdhmm_ex)
    DirScore(bdhmm_fitted_noFlags)

    # with flags
    bdhmm_fitted_flags = fitHMM(observations, bdhmm_ex, dirFlags=flags)
    DirScore(bdhmm_fitted_flags)

[Package STAN version 2.12.0 Index]