simulate_data {stabiliser} | R Documentation |
simulate_data
Description
Simulate a dataset. This can optionally include variables with a given associated with the outcome.
Usage
simulate_data(nrows, ncols, n_true = 0, amplitude = 0)
Arguments
nrows |
The number of rows to simulate. |
ncols |
The number of columns to simulate. |
n_true |
The number of variables truly associated with the outcome. |
amplitude |
The strength of association between true variables and the outcome. |
Value
A simulated dataset
[Package stabiliser version 1.0.6 Index]