Description Usage Arguments Details Value Author(s) See Also
This uses rgl to create a depiction of a given model, complete with migration arrows. You can spin this using the cursor.
1 2 3 |
migrationIndividual |
This is the chosen model. If you want model 17 from migrationArray, you could pass this in as migrationIndividual=migrationArray[[17]] |
parameterVector |
If you have numeric parameter estimates, you can pass them in here. This affects things like node height, migration rate arrow width, etc. Otherwise, it will plot a generic model. |
taxonNames |
If instead of population A, B, ... you want Oahu, Hawaii, ... you can pass them in as a vector. |
time.axis |
If you want to have a time axis, enter TRUE. |
time.axis.col |
If you want a particular color for the time axis, enter it here. |
apply.base |
This will draw a box at the rootward end of the population history. This can be convenient for 3D printing. |
base.color |
What color should the box be, if one is drawn. |
new.window |
If FALSE, overwrites the current image if one exists. By default, TRUE, so each time you run this function you create another window. |
This requires rgl, which periodically becomes hard to install on certain platforms.
Creates a stunning image.
Brian O'Meara
SaveMovie
, ~~~
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.