Learn R Programming

klausuR (version 0.12-14)

klausur.gen: Generate empty data sets for the use with klausur

Description

Generate empty data sets for the use with klausur

Usage

klausur.gen(items = NULL, obs = 1, items.char = FALSE)

Arguments

items

An integer declaring the number of items to be created

obs

Integer, numer ob observations

items.char

Logical, will the answers be coded as characters or integer numbers (default)?

Value

A data.frame containing the variables "No", "Name", "FirstName", "MatrNo", "Pseudonym", "Form" and the number of items as needed.

See Also

klausur, compare, klausur.gen.marks, klausur.gen.corr

Examples

Run this code
# NOT RUN {
antworten2 <- klausur.gen(items=20,obs=40)
# }

Run the code above in your browser using DataLab