calc_pred_corr_continuous: Perform prediction-correction

View source: R/calc_pred_corr_continuous.R

calc_pred_corr_continuousR Documentation

Perform prediction-correction

Description

Perform prediction-correction

Usage

calc_pred_corr_continuous(
  sim,
  obs,
  pred_corr,
  pred_corr_lower_bnd,
  cols,
  verbose
)

Arguments

sim

this is usually a data.frame with observed data, containing the independent and dependent variable, a column indicating the individual, and possibly covariates. E.g. load in from NONMEM using read_table_nm. However it can also be an object like a nlmixr or xpose object

obs

a data.frame with observed data, containing the independent and dependent variable, a column indicating the individual, and possibly covariates. E.g. load in from NONMEM using read_table_nm

pred_corr

perform prediction-correction?

pred_corr_lower_bnd

lower bound for the prediction-correction

cols

A length 2, named list with one element named "obs" and the other named "sim", each containing a sub-list with elements for mapping columns names in the data to expected column names for use.

verbose

show debugging information (TRUE or FALSE)

Value

A list with "sim" and "obs" (with pred_corr performed, if requested)


ronkeizer/vpc documentation built on May 11, 2023, 11:09 p.m.