Outputs a synthetic survey using a simple model
Source:R/make-synthetic-data.R
make_synthetic_data.Rdmake_synthetic_data() outputs a synthetic survey, generated using a simple, stochastic
model of polarisation.
Usage
make_synthetic_data(
nrow,
ncol,
minority = NULL,
correlation = NULL,
polarisation = NULL,
likert = NULL,
seed = NULL,
...
)Arguments
- nrow
The number of rows in the survey
- ncol
The number of columns in the survey
- minority
The fraction of nodes in the smaller of the two polarised groups
- correlation
Probability that group item corresponds to polarisation
- polarisation
The degree of polarisation among the system's agents
- likert
Range of the Likert scale
- seed
Seed value for random number generation.
- ...
Mostly used to handle arguments with alternative spellings.