Skip to content

Commit

Permalink
Documentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
billdenney committed Aug 20, 2024
1 parent 8e42770 commit 101d16a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion R/profile.R
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,13 @@ profile.nlmixr2FitCore <- function(fitted, ...,
#' Give the output data.frame for a single model for profile.nlmixr2FitCore
#'
#' @inheritParams profile.nlmixr2FitCore
#' @param fixedVal The value that `which` is fixed to in case the model does not
#' converge.
#' @return A data.frame with columns named "Parameter" (the parameter name(s)
#' that were fixed), OFV (the objective function value), and the current
#' estimate for each of the parameters.
#' @family Profiling
profileNlmixr2FitCoreRet <- function(fitted, which, fixedVal, rowname = 0) {
profileNlmixr2FitCoreRet <- function(fitted, which, fixedVal) {
if (inherits(fitted, "try-error")) {
ret <- data.frame(Parameter = which, OFV = NA_real_, X = fixedVal)
names(ret)[3] <- which
Expand Down
5 changes: 4 additions & 1 deletion man/profileNlmixr2FitCoreRet.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 101d16a

Please sign in to comment.