Skip to contents

Convert List of Data Frames to List of Zoo Objects

Usage

utils_prepare_zoo_list(x = NULL, time_column = NULL, lock_step = FALSE)

Arguments

x

(required, list of data frames) A named list with data frames. Default: NULL.

time_column

(optional if lock_step = FALSE, and required otherwise, column name) Name of the column representing time, if any. Default: NULL.

lock_step

(optional, logical) If TRUE, all input sequences are subset to their common times according to the values in the time_column.

Value

A named list of data frames, matrices, or vectors.

Examples

data(mis)
#> Warning: data set ‘mis’ not found
x <- tsl_initialize(
  x = eemian_pollen,
  name_column = "name"
)