Current distribution 'BootstrapDistribution' has a couple of limitations:
Because it must be used within a single covariate, it cannot deal with multiple covariates of an individual (unless using random=FALSE and replacement=TRUE)
In that latter case (unless random=FALSE and replacement=TRUE), there is no randomness, and the exact same covariates are used for all replicates, which is not what we want (in general)
We need an object Bootstrap that takes a data frame of covariates and that can be added to the dataset. It must have the arguments:
random: draw the subjects' covariates at random (use a different seed for each replicate)
replacement: if subjects can be drawn with replacement
Current distribution 'BootstrapDistribution' has a couple of limitations:
We need an object Bootstrap that takes a data frame of covariates and that can be added to the dataset. It must have the arguments: