We perform a quick check about the expected runtime and adjust the precision accordingly.

1 |

`f` |
function to compute Hessian for |

`x` |
location to evaluate Hessian at |

`seconds.warning` |
time threshold in seconds to trigger message and reduce the number of iterations for Richardson extrapolation of numDeriv::hessian |

`default.r` |
default number of iterations (high-precicion recommendation of numDeriv) |

`min.r` |
minial number of iteration, must be at least 2, |

`...` |
further arguments passed to method.args of numDeriv::hessian |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.