Learn R Programming

dRiftDM (version 0.3.1)

do_resampling: Temporarily suppress new stats generation during resampling

Description

Internal helper that sets the skip_new_stats_dm and skip_validate_stats_dm options to TRUE before evaluating an expression, and resets them to NULL afterward (see also stats.options()). Intended to prevent the (unncessary) creation/checking of stats_dm objects during resampling.

Usage

do_resampling(x)

Value

The result of evaluated x.

Arguments

x

An expression to evaluate.