Redo a funreg with different data (for internal use by permutation test)

Share:

Description

For internal use by package functions. Not intended to be directly called by the data analyst. This function repeats the analysis for an object of class funreg, with the same settings but with possibly different data. This is convenient in doing resampling techniques like bootstrapping or permutation testing.

Usage

1
redo.funreg(object, id, response, time, other.covariates, x)

Arguments

object

A funreg object.

id

The new values for id (see the funreg function documentation)

response

The new values for response

time

The new values for time

other.covariates

The new values for other.covariates (which may be NULL)

x

The new values for the functional covariate.

Value

The funreg object for the new fitted model.