[R] How does pbtree (from the phytools package) work?

2017-09-01 Thread Tauras Vilgalys
Hi, I'm interested in using pbtree (package phytools) to simulate a phylogeny, but would first like to understand how the simulation works (i.e. when does a split occur and how is the split chosen?). Can anyone point me to the model that is used? Thank you! [[alternative HTML version dele

[R] Finding optim.R function

2017-06-27 Thread Tauras Vilgalys
Hello, could anybody direct me where to find code for optim.R? I was able to find the C code at http://docs.rexamine.com/R-devel/optim_8c.html, but the R version would be easier for me to work with and modify. Thank you! [[alternative HTML version deleted]] __