map_estimate: MAP estimation for model ETAs for an individual

Description Usage Arguments Value

View source: R/estimator.R

Description

MAP estimation for model ETAs for an individual

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
map_estimate(
  individual_df,
  model,
  event_table,
  inits,
  THETA,
  OMEGA,
  SIGMA,
  iCov = NULL,
  error_model = c("proportional", "additive"),
  fit_options = list(method = "L-BFGS-B"),
  ...
)

Arguments

individual_df

NONMEM dataframe with measured data of the individual for the estimation

model

RxODE model

event_table

RxODE event table

inits

a vector of initial values of the state variables (e.g., amounts in each compartment), and the order in this vector must be the same as the state variables (e.g., PK/PD compartments)#'

THETA

values of structural THETA parameters of the model.

OMEGA

variance of intersubject errors. Must be a matrix or vector.

SIGMA

variance

iCov

dataframe of individual time-independent covariates or NULL if not used

error_model

The residual error model/function

fit_options

Options for the optim fitting routine

...

additonal parameters for RxODE 'solve' function

Value

List with optimized parameters, hessian, information about convergence and standard errors of the fit.


onwhenrdy/mapstimator documentation built on July 8, 2020, 10:32 p.m.