Learn R Programming

iglu (version 3.0.0)

all_metrics: Calculate all metrics in iglu

Description

The function all_metrics runs all of the iglu metrics, and returns the results with one column per metric.

Usage

all_metrics(data)

Arguments

data

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

Value

A tibble object with 1 row per subject and one column per metric is returned.

Details

All iglu functions are calculated within the all_metrics function, and the resulting tibble is returned with one row per subject and a column for each metric. Time dependent functions are calculated together using the function optimized_iglu_functions. For metric specific information, please see the corresponding function documentation.

Examples

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

# }

Run the code above in your browser using DataLab