Description Usage Arguments Value Author(s) See Also Examples
Calculate the auto-correlation time using only R. Consider using calc_act instead, as it is orders of magnitude faster
1 | calc_act_r(trace, sample_interval)
|
trace |
the values |
sample_interval |
the interval in timesteps between samples |
the auto_correlation time
The original Java version of the algorithm was from Remco Bouckaert, ported to R and adapted by Richel J.C. Bilderbeek
Java code can be found here: https://github.com/CompEvol/beast2/blob/9f040ed0357c4b946ea276a481a4c654ad4fff36/src/beast/core/util/ESS.java#L161
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.