pk.calc.sparse_auc: Calculate AUC and related parameters using sparse NCA methods

View source: R/sparse.R

pk.calc.sparse_aucR Documentation

Calculate AUC and related parameters using sparse NCA methods

Description

The AUC is calculated as:

Usage

pk.calc.sparse_auc(
  conc,
  time,
  subject,
  method = NULL,
  auc.type = "AUClast",
  ...,
  options = list()
)

pk.calc.sparse_auclast(conc, time, subject, ..., options = list())

Arguments

conc

Concentration measured

time

Time of concentration measurement (must be monotonically increasing and the same length as the concentration data)

subject

Subject identifiers (may be any class; may not be null)

method

The method for integration (either 'lin up/log down' or 'linear')

auc.type

The type of AUC to compute. Choices are 'AUCinf', 'AUClast', and 'AUCall'.

...

For functions other than pk.calc.auxc, these values are passed to pk.calc.auxc

options

List of changes to the default PKNCA.options for calculations.

Details

AUC=\sum\limits_{i} w_i \bar{C}_i

Where:

  • AUCis the estimated area under the concentration-time curve

  • w_iis the weight applied to the concentration at time i (related to the time which it affects, see sparse_auc_weight_linear)

  • \bar{C}_iis the average concentration at time i

Functions

  • pk.calc.sparse_auclast(): Compute the AUClast for sparse PK

See Also

Other Sparse Methods: as_sparse_pk(), sparse_auc_weight_linear(), sparse_mean()


PKNCA documentation built on April 30, 2023, 1:08 a.m.