View source: R/confintLR.SLik.R

profile.SLik | R Documentation |

Predicts the profile likelihood for a given parameter value (or vector of such values) using predictions from an `SLik`

object (as produced by `MSL`

).

## S3 method for class 'SLik' profile(fitted, value, fixed=NULL, return.optim=FALSE, init = "default", which="safe", ...) ## S3 method for class 'SLik_j' profile(fitted, ...)

`fitted` |
an |

`value` |
The parameter value (as a vector of named values) for which the profile is to be computed |

`fixed` |
When this is |

`return.optim` |
If this is TRUE, and if maximization of likelihood given |

`...` |
For |

`init` |
Better ignored. Either a named vector of parameter values (initial value for some optimizations) or a character string. The default is to call a procedure to find a good initial point from a set of candidates. The source code should be consulted for further details and is subject to change without notice. |

`which` |
Better ignored (for development purpose). |

The predicted summary profile log-likelihood; or possibly the result of an optimization call if `return.optim`

is TRUE.

## see main documentation page for the package

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.