xbinning: Internal functions used to produce prediction intervals (from...

View source: R/func_exploreData.R

xbinningR Documentation

Internal functions used to produce prediction intervals (from the npde package)

Description

Functions used by plot functions to define the boundaries of the bins on the X-axis

Usage

xbinning(xvec, plot.opt, verbose = FALSE)

Arguments

xvec

a vector of values for the X-axis of the plot

plot.opt

graphical options

verbose

boolean (defaults to FALSE). If TRUE, a table showing how the binning was performed

Details

These functions are normally not called by the end-user.

Value

a list with 3 elements, xgrp (the number of the bin associated with each element of xvec), xcent (a named vector containing the mean of the elements of xvec contained in each bin; the name of the bin is the interval), and xgroup (a vector with the group associated to each element of xvec after binning) If verbose is TRUE, a table showing the bins is shown, giving the interval of xvec associated with each bin, the mean value of xvec in each bin, and the number of observations

Author(s)

Emmanuelle Comets emmanuelle.comets@bichat.inserm.fr

References

K. Brendel, E. Comets, C. Laffont, C. Laveille, and F. Mentre. Metrics for external model evaluation with an application to the population pharmacokinetics of gliclazide. Pharmaceutical Research, 23:2036–49, 2006.

See Also

npde, autonpde


saemix documentation built on May 29, 2024, 10:43 a.m.

Related to xbinning in saemix...