expand.data: Create a "bootstrapped" version of a dataset to be used in multic.
Description
When using multic to bootstrap over families, an appropriate data set
is needed. By providing a random set of famids, expand.data creates
such a dataset.
Usage
expand.data(famids, d.frame)
Arguments
famids
famids is a character or integer vector that specifies the family
order in a "bootstrapped" fashon. Each index of famids is the famid
(family identifier) from the original dataset not the index of the
family. An example famids argument would be
fa
d.frame
the data.frame that holds the family structure and phenotype data.
This should be the dataset that was used to sample famid.
Value
a data.frame that contains the bootstrapped version of the input dataset