Accessor methods for struct objects

Share:

Description

getD Return the number of free parameters in STRUCTURE model

Usage

1
2
3
4
5
6
7
getD(structure_obj)

getPosterior(structure_obj)

getFitStats(structure_obj)

getMCMC(structure_obj)

Arguments

structure_obj

a struct object

Functions

  • getPosterior: Return the estimated log posterior probability (L_k) from a struct object

  • getFitStats: Return the estimated mean and variance of estimated log-likelihood from a struct object

  • getMCMC: Return non-burn in MCMC iterations.