Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

big.brother

Verbosely Track Function Evaluations


Description

This is for making function evaluations more verbose; big.brother returns a function that prints its arguments and return value every iteration (or every several iterations if interval is specified)

Usage

big.brother(f, interval=1, file="")

Arguments

f

A function

interval

Interval between printed evaluations

file

(Optional) file to log to. By default, logs to the console.

Warning

Using this directly on the likelihood functions may lead to unintended consequences as it affects the class attribute of the likelihood function and stop it causing the correct MLE function being dispatched. Probably best to leave this alone.

Author(s)

Richard G. FitzJohn


diversitree

Comparative 'Phylogenetic' Analyses of Diversification

v0.9-15
GPL (>= 2)
Authors
Richard G. FitzJohn [aut, cre], Emma Goldberg [aut], Karen Magnuson-Ford [aut], Roger Sidje [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.