peccary_NCA: Basic Non Compartimental Analysis

View source: R/peccary_NCA.R

peccary_NCAR Documentation

Basic Non Compartimental Analysis

Description

peccary_NCA compute basic NCA analysis (no extrapolation)

Usage

peccary_NCA(
  dataset,
  timecol,
  obscol,
  ...,
  evidcol = NULL,
  BLQcol = NULL,
  auc_0_X = 0,
  filter = "",
  keepcov = T,
  plotQC = F,
  outputExpr = F,
  IVbackextr = F,
  add_Obs0_Time0 = F,
  nIVback = 2
)

Arguments

dataset

Dataset to analyze

timecol

The name (unquoted) of the time column. Mandatory.

obscol

The name (unquoted) of the observation column. Mandatory.

...

All the names (unquoted) of the grouping column (ID, YTYPE, nAdmin, any covariate....).

evidcol

The name (unquoted) of the evid column. Optional. Only line with evidcol = 0 will be kept

BLQcol

The name (unquoted) of the evid column. Optional. BLQ values are replaced by 0.

auc_0_X

Numeric input. Compute AUC from time 0 to time auc_0_X

filter

Optional filter to be applied on the dataset prior to NCA computation.

keepcov

Boolean. If true (default), use pecc_search_cov to keep automatically all covariates

plotQC

Boolean. If T, create plots to control the output (default = F)

outputExpr

Boolean. If F (default) returns directly NCA results. If T, return R code instead.

IVbackextr

Boolean. If T, compute C0 based on the first nIVback points.

add_Obs0_Time0

Boolean. If T, add observation 0 at times 0 for all patients. Usefull in case of non intravscular administration(default = F)

nIVback

Numeric input. Number of point used for the backextrapolation. Default 2 as in PKAnalix

Author(s)

Thibaud Derippe (Thibaud.Derippe@gmail.com)

Examples

# To get the Peccary-independant code, add outputExpr = T

Peccary-PMX/PeccAnalysis documentation built on July 7, 2022, 5:27 a.m.