detailsVariables: Validation and Translation table for details variables
Description
An internal table containing a list of the details variables and parameters to
do validation of user provided variable overrides of the defaults. The table also contains the
information needed to translate the existing (as of 9/17/2015) details structure into a
new details structure segmented by each type of glyphic.
Usage
data(detailsVariables)
Format
A data frame with 6 variables:
Details
This dataset provide a table to micromapST for verification of the details variables
provided by a user to override the packages default values. The varName is the
exact name of the variable. If the variable name provide by the user does not
match this list, it is flagged as an error and ignored.
The test supported are: colors, integer, numeric, logical and vector3.
The colors test calls the is.Color
function. The integer and numeric
tests use the range provided in v1 and v2 columns to check the
range of the value for the variable. The logical test verifies the value is
TRUE or FALSE. The vector3 test check to make sure the value is a vector or
length 3 and each value is within the range in v1 to v2.
More to be added later. *****
The micromapST package is being updated to use a new variable structure. The new structure
will allow options/parameters to be specified on glyphic and column basis. This allows
each column to be uniquely tuned to the user requirements. The variable names
have also been simplifed to use the same name across glyphics when the purpose is the same.
This should reduce the users learning curve.