dropModels | R Documentation |
The dropModels
function takes model fits such as the ones returned by
xcms:::rowFitModel
or withinBatchFit()
and removes models idenfified by
function FLAG_FUN
. This function can be one of the flag_*
functions (such
as flag_model_residual()
) that take a linear model fit as input and return
a logical indicating whether the model fit is problematic or not.
dropModels(x, FLAG_FUN, ...)
x |
|
FLAG_FUN |
|
... |
additional parameters to be passed to |
The input x
with poor quality models identified by FUN
replaced
with NA
.
Johannes Rainer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.