create_cctable: Create a ccTable object

Description Usage Arguments Value

Description

Re-arrange the ccRecord object to table format where each column stands for a variable and each row a record data point. The number of rows will depend on the sampling frequency set in this function. If the original data has a higher recording frequency than the set frequency (freq), the closest data point will be taken. It is suggested the 'freq' should not be set lower than the maximum recording frequency in the original dataset.

Usage

1
create_cctable(rec, conf = NULL, freq = 1)

Arguments

rec

ccRecord

conf

either the path of YAML configuration file or the configuration

freq

a unique sampling frequency (in hours) for all variables. e.g. if freq is set to 1, each row in ccTable will represent a record of one hour.

Value

ccTable


cleanEHR documentation built on May 2, 2019, 6:40 a.m.