as.focei: Convert fit to FOCEi style fit

View source: R/foceiFit.R

as.foceiR Documentation

Convert fit to FOCEi style fit

Description

Convert fit to FOCEi style fit

Usage

as.focei(
  object,
  uif,
  pt = proc.time(),
  ...,
  data,
  calcResid = TRUE,
  table = tableControl(),
  IDlabel = NULL
)

## S3 method for class 'nlmixrNlme'
as.focei(
  object,
  uif,
  pt = proc.time(),
  ...,
  data,
  calcResid = TRUE,
  nobs2 = 0,
  keep = NULL,
  drop = NULL,
  table = tableControl(),
  IDlabel = NULL
)

Arguments

object

Fit object to convert to FOCEi-style fit.

uif

Unified Interface Function

pt

Proc time object

...

Other Parameters

data

The data to pass to the FOCEi translation.

calcResid

A boolean to indicate if the CWRES residuals should be calculated

table

A list of table options

IDlabel

labels for the ID column; used to change the IDs back to their normal valuesr

nobs2

Number of observations without EVID=2

keep

Columns to keep from either the input dataset. For the input dataset, if any records are added to the data LOCF (Last Observation Carried forward) imputation is performed.

drop

Columns to drop from the output

Value

A FOCEi fit style object.

Author(s)

Matthew L. Fidler


nlmixrdevelopment/nlmixr documentation built on Aug. 22, 2023, 2:16 p.m.