This function can be used to specify a coding scheme that can then be used in analysis.
Usage
create_codingScheme(
id,
label,
codes,
codingInstructions = NULL,
description = "",
source = ""
)
codingScheme_peterson
codingScheme_levine
codingScheme_willis
Format
An object of class rock_codingScheme
of length 5.
An object of class rock_codingScheme
of length 5.
An object of class rock_codingScheme
of length 5.
Arguments
- id
An identifier for this coding scheme, consisting only of letters, numbers, and underscores (and not starting with a number).
- label
A short human-readable label for the coding scheme.
- codes
A character vector with the codes in this scheme.
- codingInstructions
Coding instructions; a named character vector, where each element is a code's coding instruction, and each element's name is the corresponding code.
- description
A description of this coding scheme (i.e. for information that does not fit in the label).
- source
Optionally, a description, reference, or URL of a source for this coding scheme.