Description Usage Arguments Details Value Author(s)

Calculate the negative log-likelihood along a line
connecting two `mle`

fits

1 |

`fit1` |
An |

`fit2` |
Another |

`fn` |
Negative log-likelihood function |

`range` |
Numeric vector: range of parameters to try, where
0 corresponds to |

`n` |
Number of points to evaluate |

Calculates the negative log-likelihood (not a profile, just a "slice") along the line connecting the two sets of coefficients. Intended for diagnosing and visualizing multiple minima in a likelihood surface, especially in higher-dimensional models.

`x` |
Parameter values, along the 0-1 scale described above |

`y` |
Negative log-likelihood values |

Ben Bolker

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.