Check that names passed as arguments for columns containing time stamps and
observed quantities exist in col.names.
Arguments
- time.name
character vector of length one Name of the variable containing time stamps for the observations.
- qty.name
character vector Name(s) of variable(s) in
datacontaining values observed quantities. Ifqty.name = NULL, the default, all columns are retained.- verbose
logical Report data columns found. Useful for debugging.
Details
If the column named according to time.name is not in
col.names an error is issued. If qty.name = NULL all
columns in col.names minus that in time.name. If
qty.name is a character vector only names also present
in col.names are returned, while if none is present, an error
is issued. If only some names in qty.name are discarded a
message is issued.
