get_vars: Figure out what variable represents time. Called by main...

View source: R/kronos.R

get_varsR Documentation

Figure out what variable represents time. Called by main 'kronos' function.

Description

Extracts time from the formula and from the time argument. Also handles inconsistencies.

Usage

get_vars(formula, time, data, verbose = verbose)

Arguments

formula

A formula. Use the time function to designate which variable represents time.

time

A string. Should be the column name containing the time values.

data

input data

verbose

A boolean. Toggles whether to print diagnostic information while running. Useful for debugging errors on large data sets.


kronos documentation built on April 26, 2023, 9:11 a.m.