Description Usage Arguments Note Author(s)
View source: R/phrapl-utilities.R
This function produces an array of all possible demographic models given a number of populations (specified by popVector), a maximum number of free parameters (maxK), and other optional filtering criteria.
1 2 3 |
popVector |
A vector that gives the number of samples for each population in a dataset. The model set generated by this function is based on the number of populations under consideration (indicated by length(popVector)). |
maxK |
The maximum number of free parameters to be incorporated into the model set. The default is calculated based on the number of samples in popVector. |
maxMigrationK |
The maximum number of migration rate parameters to be incorporated into the model set. |
maxN0K |
The maximum number of n0 parameters to be incorporated into the model set. |
forceSymmetricalMigration |
If TRUE, migration rate indexes between populations are forced to be equal. |
forceTree |
If TRUE, only models with fully resolved topologies are included in the model set. |
verbose |
If TRUE, prints out status updates |
parallelRep |
If running the function through loop in parallel on a cluster, this argument is assigned a replicate number. |
For more information, please see the user manual.
Brian O'Meara
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.