Skip to contents

All functions

correlate()
Perform generation of a correlated random variable.
cross_levels() link_levels()
Creates panel or cross-classified data
draw_binary_icc()
Draw binary data with fixed intra-cluster correlation.
draw_binomial() draw_categorical() draw_ordered() draw_count() draw_binary() draw_quantile()
Draw discrete variables including binary, binomial count, poisson count, ordered, and categorical
draw_likert()
Recode a latent variable into a Likert response variable
draw_multivariate()
Draw multivariate random variables
draw_normal_icc()
Draw normal data with fixed intra-cluster correlation.
fabricate() add_level() modify_level() nest_level()
Fabricate data
fabricatr fabricatr-package
fabricatr package
join_using()
Helper function handling specification of which variables to join a cross-classified data on, and what kind of correlation structure needed. Correlation structures can only be provided if the underlying call is a link_levels() call.
potential_outcomes()
Build potential outcomes variables
recycle()
Expands data to a given length through recycling.
resample_data()
Resample data, including hierarchical data
reveal_outcomes()
Reveal outcomes
split_quantile()
Split data into quantile buckets (e.g. terciles, quartiles, quantiles, deciles).