These functions support the construction of intervals for
descriptive statistics computed from observed or simulated
data. They are used internally by stats_resample_dm() methods.
stats_resample_wrapper(
obs_data_split,
one_set_idxs = NULL,
type,
b_coding,
...
)resample_assemble(resample_list, level, original)
stats_resample_wrapper() returns a single stats_dm object for one
sample.
resample_assemble() returns a stats_dm object containing the lower
and upper interval bounds along with the original estimate.
a named list of data.frames, containing a single set of observed data, splitted by condition
a named list of numeric vectors. Each entry contains
indices to shuffle the data.frames in obs_data_split. Default NULL
keeps obs_data_split as is.
a character, passed to calc_stats_pred_obs().
a list with boundary coding information,
, required to wrangle rts to match with calc_stats_pred_obs().
additional arguments passed to calc_stats_pred_obs().
a list of statistics returned by calls to
stats_resample_wrapper().
a numeric between 0 and 1, controlling the width of the interval.
a stats_dm object representing the statistic computed
from the original data set or model prediction.
stats_resample_wrapper() wraps a call to calc_stats_pred_obs() for use
in resampling.
resample_assemble() takes a list of resampled statistics and the
original statistic, and computes lower and upper bounds based
on the requested level. It returns a stats_dm object with an
added Estimate column.