read.dmdx: Read DMDX item file

Description Usage Arguments Value

Description

Read DMDX item file in either RTF format or ASCII format, and convert it into a list contaning the header information and data frame

Usage

1
2
read.dmdx(file, colnames, CorrectAnswers = FALSE, warn = FALSE,
  separator = FALSE, encoding = "unknown")

Arguments

file

A name of file

colnames

names of columns for the data.frame to be returned.

CorrectAnswers

logical. If TURE, the signs (+, -, ^, =) will be removed from the item number and converted into a new column 'Correct Answers with the corresponding values ("Yes", "No", NA, and "Any" respectively). Default to FALSE

warn

logical. If FALSE (Default), messages form internally used functions (e.g., readLines) will be muted.

separator

logical. If FALSE (Default), frame separator '/' will be omitted from the output data.frame.

encoding

encoding to be used.

Value

A list containing:


matsukik/read.dmdx documentation built on May 21, 2019, 12:57 p.m.