create_spec: For creating part of the specification
Description
For creating part of the specification
Usage
create_spec(df_spec, all_colname, part_spec, is_pst)
Arguments
df_spec
A dataset, a type is a data frame.
all_colname
A character vector with all names in the dataset.
part_spec
A character scalar. Prefixes or postfixes.
is_pst
A logical scalar, default is TRUE. True is postfix, otherwise, prefix.
Value
A data frame. Part of the specification.