| resample_helpers | R Documentation |
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)
obs_data_split |
a named list of data.frames, containing a single set of observed data, splitted by condition |
one_set_idxs |
a named list of numeric vectors. Each entry contains
indices to shuffle the data.frames in |
type |
a character, passed to |
b_coding |
a list with boundary coding information,
, required to wrangle rts to match with |
... |
additional arguments passed to |
resample_list |
a list of statistics returned by calls to
|
level |
a numeric between 0 and 1, controlling the width of the interval. |
original |
a |
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.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.