Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

etTrans

Event translation for RxODE


Description

Event translation for RxODE

Usage

etTrans(
  inData,
  obj,
  addCmt = FALSE,
  dropUnits = FALSE,
  allTimeVar = FALSE,
  keepDosingOnly = FALSE,
  combineDvid = NULL,
  keep = character(0)
)

Arguments

inData

Data frame to translate

obj

Model to translate data

addCmt

Add compartment to data frame (default FALSE).

dropUnits

Boolean to drop the units (default FALSE).

allTimeVar

Treat all covariates as if they were time-varying

keepDosingOnly

keep the individuals who only have dosing records and any trailing dosing records after the last observation.

combineDvid

is a boolean indicating if RxODE will use DVID on observation records to change the cmt value; Useful for multiple-endpoint nlmixr models. By default this is determined by option("RxODE.combine.dvid") and if the option has not been set, this is TRUE. This typically does not affect RxODE simulations.

keep

This is a named vector of items you want to keep in the final RxODE dataset. For added RxODE event records (if seen), last observation carried forward will be used.

Value

Object for solving in RxODE


RxODE

Facilities for Simulating from ODE-Based Models

v1.0.9
GPL (>= 3)
Authors
Matthew L. Fidler [aut] (<https://orcid.org/0000-0001-8538-6691>), Melissa Hallow [aut], Wenping Wang [aut, cre], Zufar Mulyukov [ctb], Alan Hindmarsh [ctb], Awad H. Al-Mohy [ctb], Matt Dowle [ctb], Cleve Moler [ctb], David Cooley [ctb], Drew Schmidt [ctb], Arun Srinivasan [ctb], Ernst Hairer [ctb], Gerhard Wanner [ctb], Goro Fuji [ctb], Hadley Wickham [ctb], Jack Dongarra [ctb], Linda Petzold [ctb], Martin Maechler [ctb], Matteo Fasiolo [ctb], Morwenn [ctb], Nicholas J. Higham [ctb], Roger B. Sidje [ctb], Simon Frost [ctb], Kevin Ushey [ctb], Yu Feng [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.