FindBestCut {nlmeVPC} | R Documentation |
Find the best cutoff values of binning for the visual predictive checks.
Description
By various rules, find the best cutoff values for a given number of bins.
Usage
FindBestCut(X,
K,
beta = 0.2, ...)
Arguments
X |
A numeric vector to divide into K bins. |
K |
Number of bins. |
beta |
Additional parameter in the penalty. For more detailed explanation, see reference. |
... |
Arguments to be passed to methods. |
Value
The best cutoff values to make K bins using X and the minimum within sums of square values for the binning
References
Lavielle, M. and Bleakley, K. (2011). Automatic data binning for improved visual diagnosis of pharmacometric models. Journal of pharmacokinetics and pharmacodynamics, 38(6), 861-871.
VPC automatic binning algorithm in PsN 5.0.0 manual.
Examples
data(origdata)
FindBestCut(origdata$TIME,K=10)
[Package nlmeVPC version 2.6 Index]