Learn R Programming

starmie (version 0.1.2)

getD: Accessor methods for struct objects

Description

getD Return the number of free parameters in STRUCTURE model

Usage

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.