Skip to contents

All functions

calc_constants()
Produce required constants for periodogram calculation
calculate_GCI.6DF_summary
Calculates Glucose Color Index (GCI) using 6DF disjoint linear summary of log-periodogram
calculate_GCI()
Calculates Glucose Color Index (GCI)
calculate_GCI(<data.frame>)
Calculates Glucose Color Index (GCI) using long-format raw CGM time series in a dataframe with sensible defaults
calculate_GCI(<default>)
Catch attempt to calculate GCI using unsupported class
default_pgram()
Return reasonable defaults for CGM log-periodogram calculation
default_weights()
Return default weights for 6DF representation linear combination used to calculte GCI
linear_approx()
Calculate 6 degree of freedom representation of a log-periodogram
new_6DF()
Class for representing 6DF piece-wise linear model periodogram summary
new_pgram()
Class for packaging a log-periodogram with its corresponding frequencies
pad_for_pgram()
Pad the CGM time series with zeros
pgram()
Calculate CGM periodogram for a given time series and argument
slope_midpoint()
Fit disjoint linear model portion and return slope/midpoint components