cqc_syntax: Generate ConQuest syntax, with some reasonable defaults

Description Usage Arguments Value Examples

Description

Generate ConQuest syntax, with some reasonable defaults

Usage

1
2
cqc_syntax(name, resp_cols, filename = name, cmds = cqc_cmds(),
  lookup_vals = cqc_defaults())

Arguments

name

A name for the analysis - this is used to link data, labels and output files

resp_cols

Columns containing item responses. For use with ConQuest format statment

filename

Name to use for the data file. Defaults to the value supplied to the name argument

cmds

A list of strings. Each string containing a ConQuest statment (and may include placeholders)

lookup_vals

A named list of strings. The name defines a 'placeholder' for use with ConQuest commands. The string is the value that will be used instead of the placeholder

Value

A named list. Each element contains a Conquest command. Use with 'cqc_cmds' and 'cqc_defaults'

Examples

1
2
# cqc_syntax only generates text which can be used by ConQuest. e.g.
cqc_syntax(name = "mydata", resp_cols = "1-10")

markdly/conquestr documentation built on May 29, 2019, 5:40 a.m.