Learn R Programming

iglu (version 3.0.0)

optimized_iglu_functions: Optimized Calculations of Time Dependent iglu Metrics

Description

The function optimized_iglu_functions optimizes the calculation of all time dependent iglu metrics by extracting the CGMS2DayByDay calculation and passing the result into each function.

Usage

optimized_iglu_functions(data)

Arguments

data

DataFrame object with column names "id", "time", and "gl".

Value

If a data.frame object is passed, then a tibble object with 1 row for each subject and one column for each metric is returned.

Details

Returns a tibble object with 1 row for each subject and a column for each metric. This function includes time dependent iglu metrics only. For metric specific information, please see the corresponding function documentation.

Examples

Run this code
# NOT RUN {
data(example_data_1_subject)
optimized_iglu_functions(example_data_1_subject)

data(example_data_5_subject)
optimized_iglu_functions(example_data_5_subject)

# }

Run the code above in your browser using DataLab