promote: Canges role of column

Description Usage Arguments

View source: R/time.table.R

Description

Changes the role of columns in a time.table, making sure relevant internal structure is canged.

Usage

1
promote(tt, changes, columns = NULL, destructive = TRUE)

Arguments

tt

time.table to swich column roles in

changes

list or character vector of role changes, values each being one of "index", "time", "measurement", and "auxiliary"

columns

list of columns of same length as changes, defaults to names of elements in changes

destructive

whether to mutate the time.table, defaults to True


rossklin/timetablr documentation built on May 27, 2019, 11:40 p.m.