Description Usage Arguments Value Author(s)
Read the tree weights from a nexus file or text. It looks within the comments before each tree string for the weights.
1 2 3 4 | get.tree.weights(finput,
text = NULL,
starters = c("&W", "&lnP"),
splitchar = "( |=)")
|
finput |
A file to be read in |
text |
Alternatively, send it text itself. |
starters |
The character pattern which indicates the start of the weight (within a comment) |
splitchar |
The character pattern which separates the 'starters' from the weights themselves |
Returns a numeric vector of the weights (if any are avialable).
J. Conrad Stack
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.