Learn R Programming

kronos (version 1.0.0)

get_vars: 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.