Description Usage Arguments Details Value Examples
Generating a example dataset (age estimation)
1 2 3 |
ntot |
total number of observations |
nsites |
number of sites |
nbatches |
number of batches |
propAgeAs |
#proportion of sites with assosiation to age |
sd_batch |
standard dev of batch effects (normal distr effects) |
sd_signal |
standard dev of signal (norm distr noise) |
sd_bparam |
sd of age coefficient |
ageRange |
Age range of considered ages |
seed |
The user can set seed if wanted |
verbose |
boolean, show progress Default: FALSE |
The function generates a dataset based on normal distribution where age (uniformly distributed) is a underlying explanatory variable
A list with variables y (response), X (design matrix belonging to fixed effects coefficients), batch (factor with batch effect names), age (true ages)
1 2 3 4 | ## Not run:
dat = genData(seed=1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.