Construct New Statistic When Resampling Fitted Models

DESCRIPTION:

This function forms a new statistic expression from an original statistic and a new argument for that statistic. This is a utility function that is called internally by various resampling functions and their methods, and is not intended to be called directly.

USAGE:

resampMakeNewStat(statistic, newstatarg, args.stat, frame.eval){ 

REQUIRED ARGUMENTS:

statistic
a statistic. See for a description of this argument.
newstatarg
new argument to statistic.
frame.eval
the frame where the objects occuring in statistic can be found. See .

OPTIONAL ARGUMENTS:

args.stat
additional arguments or objects for statistic. See for a description of this argument.

VALUE:

an expression with statistic acting on argument newstatarg, and possibly other arguments from args.stat.

DETAILS:

This is part of a suite of functions that allows and to recognize the syntax

#
bootstrap(fit, ...)
#

where fit is the output from a modeling function.

SEE ALSO:

, , , , , , , , ,