Description Usage Arguments Details Value Author(s)
Makes an event scale
1 2 |
name |
Name of scale |
types |
Array of event codes |
values |
Array of event code values |
file |
Input file defining event codes and their values |
desc |
Optional description of the scale |
default |
What to assign event codes that have no mapping in the scale. Defaults to |
sep |
Separator in |
Makes an event scale from a specification found in a file or
using the types and variables
parameters. If a file is specified it is assumed to be headerless and to
contain event codes in the first column and numerical values in the second
column.
Scales must be assigned a name and may also be assigned a
description. If you wish to assign codes without a specified value to
some particular value, set default to something other than NA.
An event scale object
Will Lowe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.