superspec.character {nonmemica}R Documentation

Create Specification for Model Inputs and Outputs From Character

Description

Create a specification for the result of superset() from character by treating as a model name. By default, gives a spec template for superset(x). Tries to supplement with labels and units from parent specification, if it exists. Tries to supplement with any additional labels and units in definitions(x). Defers to actual data if provided. Specify exclusive, visible, and after as for superset.

Usage

## S3 method for class 'character'
superspec(
  x,
  include = character(0),
  exclude = character(0),
  rename = NULL,
  visible = "VISIBLE",
  after = NULL,
  data = NULL,
  ...
)

Arguments

x

character

include

column names in output to consider adding

exclude

column names in output to reject

rename

logical: whether to keep and rename columns with re-used names

visible

a name for the flag column indicating visibility

after

place new columns after this column; at end by default (NULL); TRUE places them after

data

an alternative dataset on which to model the specification

...

passed arguments

See Also

Other superset: generalize(), ignored(), meta.character(), meta.numeric(), metaplot.character(), metaplot.numeric(), metaplot_character(), metasuperset(), meta(), ninput.character(), ninput.numeric(), ninput(), shuffle(), superset.character(), superset.numeric(), superset(), superspec.numeric(), superspec()


[Package nonmemica version 1.0.8 Index]