Description Usage Arguments Details Value
Predictor-response paired data are generated
1 | randomsamp(predictors, response, prob = NULL, par, nsample = 100)
|
predictors |
List of vectors of predictor levels |
response |
Vector of response variables |
prob |
Vector of probabilities for sampling each response group |
par |
List of |
nsample |
Sample size |
The argument response is used to set up all possible levels
of response groups and likewise for predictors. The parameter
argument par must have the appropriate structure
consistent with response and predictors. This function
is a wrapper calling sample_xi multiple times.
Data frame of response and predictor variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.