Learn R Programming

invivoPKfit (version 2.0.1)

fit_group: Fit a single group of data

Description

Fit a single group of data

Usage

fit_group(
  data,
  par_DF,
  sigma_DF,
  fit_decision,
  this_model,
  settings_optimx,
  modelfun,
  dose_norm,
  log10_trans,
  max_mult,
  suppress.messages
)

Value

An object of class `optimx` (i.e. a data.frame with fit results)

Arguments

data

A single group of data

par_DF

par_DF for a single group of data

sigma_DF

sigma_DF for a single group of data

fit_decision

Whether the fit is able to be calculated or excluded.

this_model

Name of the `pk_model` object to fit

settings_optimx

The settings for optimization.

modelfun

Name of the model concentration function

dose_norm

TRUE or FALSE -- whether to dose-normalize concentrations before evaluating log-likelihood

log10_trans

TRUE or FALSE -- whether to 1og10-transform concentrations before evaluating log-likelihood

max_mult

Multiplier for maximum acceptable value. Default set to NULL and currently unused.

suppress.messages

TRUE or FALSE -- whether to suppress messages or emit them