Description Usage Arguments Details Value

View source: R/nca.pde.deviation.outlier.R

nca.pde.deviation.outlier calculates individual prediction distribution errors (PDE) and scaled deviation of NCA metrics estimated from observed and simulated data. Identifies outlier to population PK model.

1 2 3 4 |

`obsdata` |
A data frame containing the NCA metrics values estimated from the observed data |

`simdata` |
A data frame containing the NCA metrics values estimated from the simulated data |

`idNm` |
Column name for ID ( |

`id` |
ID of the individual whose data is being evaluated |

`spread` |
Measure of the spread of simulated data (ppi (95% parametric
prediction interval) or npi (95% nonparametric prediction interval))
( |

`figlbl` |
Figure label based on dose identifier and/or population
stratifier, in addition to ID ( |

`calcparam` |
A character array of the NCA metrics used for calculations
of PDE and deviation. The allowed NCA metrics for this histograms are
"AUClast", "AUClower_upper", "AUCINF_obs", "AUCINF_pred", "AUMClast",
"Cmax", "Tmax" and "HL_Lambda_z". ( |

`diagparam` |
A character array of the NCA metrics used for diagnostic
test to detect outliers. The allowed NCA metrics for this histograms are
"AUClast", "AUClower_upper", "AUCINF_obs", "AUCINF_pred", "AUMClast",
"Cmax", "Tmax" and "HL_Lambda_z". ( |

`cunit` |
Unit for concentration (default is |

`tunit` |
Unit for time (default is |

`noPlot` |
Perform only NCA calculations without any plot generation
(TRUE, FALSE) ( |

`onlyNCA` |
If |

nca.pde.deviation.outlier calculates individual prediction distribution errors (PDE) and scaled deviation of NCA metrics estimated from observed and simulated data. The deviation of each estimated NCA metrics is scaled by the "spread" of the simulated values. The "spread" is measured either by the 95% parametric prediction interval or 95% non-parametric prediction interval. Any individual yielding an absolute value of the scaled deviation for any of the selected NCA metrics greater than 1, is assigned as an outlier to the corresponding population PK model. The allowed NCA metrics for this diagnostic tests are "AUClast", "AUClower_upper", "AUCINF_obs", "AUCINF_pred", "AUMClast", "Cmax", "Tmax" and "HL_Lambda_z". By default, this function uses AUClast and Cmax metrics for the comparison.

returns the observed data frame with added distance and simulation mean of the nCA metrics, and a data frame with the PDE values of the NCA metrics. If the individual is identified as an outlier for the PK model, histograms of the diagnostic NCA metrics are produced and a graphical object created by arrangeGrob function is returned.

ncappc documentation built on May 1, 2019, 7:31 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.