Skip to content

populationType

tgvaughan edited this page Jan 28, 2013 · 3 revisions

The <populationType> element specifies or defines a particular type of population. It has the following form:

    <populationType spec='PopulationType'
                    typeName="STRING"
                    dim="INTEGER [INTEGER [ ... ] ]"
                    id="BEASTID" />

The typeName attribute specifies a unique name for the population type. It should start with a letter and contain only letters and numbers (no spaces). The dim attribute specifies the dimensions of the n-dimensional array of populations of this type. In the case of a structureless population type, use dim=1 or specify the type implicitly using the population element.

In addition to these attributes, you will often want to define a final id attribute which will allow you to reference this population type when specifying particular populations at other points in the XML file.