p2i: Convert a posterior position to an index

Description Usage Arguments Value Author(s)

Description

Convert a posterior position to an index

Usage

1
p2i(sti, ai, pi, nstpist, napst, nppa)

Arguments

sti

the species tree index, a value from 1 to and including 2

ai

the alignment index, the ai-th alignment of that species tree, a value from 1 to and including the number of alignments per species tree

pi

the posterior index, the pi-th psoterior of that alignment, a value from 1 to and including the number of posteriors per alignment

nstpist

the number of species trees per incipient species tree

napst

the number of alignments per species tree

nppa

the number of posteriors per alignment

Value

the plain index

Author(s)

Richel Bilderbeek


richelbilderbeek/wiritttes documentation built on May 27, 2019, 8:14 a.m.