Skip to contents

data_preprocess() outputs a synthetic survey, generated using a simple, stochastic model of polarisation.

Usage

data_preprocess(data, limits = NULL, dummycode = NULL)

Arguments

data

The number of rows in the survey

limits

The number of columns in the survey

dummycode

The fraction of nodes in the smaller of the two polarised groups

Value

A data frame corresponding to a survey.

Examples

S <- make_synthetic_data(200, 8)