create_spec: For creating part of the specification

Description Usage Arguments Value

View source: R/rename.R

Description

For creating part of the specification

Usage

1
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.


dmtools documentation built on Nov. 9, 2020, 9:06 a.m.