Learn R Programming

editrules (version 2.2-0)

editfile: Read edits edits from free-form textfile

Description

This utility function allows for free editrule definition in a file. One can extract only the numerical (type='num'), only the categorical (type='cat') or all editas (default) in which case a list is returned. The function first parses all assignments in the file. Every other statement is considered to be an edit.

Usage

editfile(file, type = c("all", "num", "cat", "mix"),
    expandEdits = FALSE, ...)

Arguments

Value

editset with all edits if type=all, editarray if type='cat', editmatrix if type='num', editset with conditional edits if type='mix'. If the return value is a list, the elements are named numedits and catedits.