DEPRECATED. Use brefit
instead
bdotsRefit(
bdObj,
fitCode = 1L,
subset = NULL,
quickRefit = FALSE,
numRefits = 2L,
paramDT = NULL,
...
)
Returns bdObj with updated fits
An object of class 'bdotsObj' returned from bdotsFit
A length one integer indicating observations to refit. See Details
Either an expression that evaluates to a logical used to subset the bdObj
,
(using data.table
syntax) or a numeric vector of indices to subset. Default is NULL
.
When not NULL
, any arguments to fitCode
are ignored.
Boolean indicating if a quick refit should be used. If TRUE,
rather than prompting the user for adjustments for each observation, bdotsReft
will jitter the parameters of all observations indicated by fitCode
and attempt
to refit. Between the original and the refitted curve, this will place priority on
the higher fitCode
. If these are equal, R2 will take precedence. Otherwise,
the original fit will be kept.
Integer indicating the number of refit attempts after jittering parameters, either with quickRefit or when done individually
A data.table
or data.frame
that matches the what is
returned by coefWriteout(bdObj)
. That is, it should have columns
uniquely identifying observations with subjects and groups, as well as named
columns for the paramters. NA parameters are OK. Can also be a subset of the original rows.
Note, if this argument is not NULL
, the remaining arguments will be ignored.
not used
DEPRECATED. Use brefit
instead