coerceRev {Revticulate} | R Documentation |
Convert RevBayes Output into R Objects
Description
Coerces a RevBayes output string into an equivalent R object. Automatically determines R object type based on the structure of the string, and returns the original string if R object equivalent cannot be determined.
Usage
coerceRev(revString)
Arguments
revString |
character - Output from RevBayes |
Value
rObject: Type varies depending on Rev object type. R object-formatted output coerced from a RevBayes output string.
Examples
## Not run:
coerceRev("[1, 2, 3, 4]")
## End(Not run)
[Package Revticulate version 1.0.0 Index]