sim_eval: Simulate data for mock course evaluations

Description Usage Arguments Examples

View source: R/sim_eval.R

Description

This function may be used to simulate data in order to use join_eval and plot_eval without real data.

Usage

1
2
sim_eval(N_files = 5, N_id = 50, missing = 0.05, wide_format = FALSE,
  lang = c("de", "en"))

Arguments

N_files

Positive integer. Number of files/courses/waves.

N_id

Positive integer. Number of participants in each file/course/wave.

missing

Numberic between 0 and 1 indicating the amount of missing data.

wide_format

Logical indicating whether data should be returned in wide format.

lang

Character string specifying the language of the variable names.

Examples

1
2
# Simulate data for 60 participants, 20 in each of 3 courses
dat1 <- sim_eval(N_files = 3, N_id = 20)

hplieninger/instevalR documentation built on May 17, 2019, 4:54 p.m.