is_reg_SL_tibble {studentlife}R Documentation

is_reg_SL_tibble

Description

Confirm that an object is a regularised StudentLife tibble

Usage

is_reg_SL_tibble(x)

Arguments

x

Any object

Value

Logical

Examples

d <- tempdir()
download_studentlife(location = d, url = "testdata")

tab_PAM <- load_SL_tibble(schema = "EMA", table = "PAM", location = d)

reg_PAM <- regularise_time(
  tab_PAM, blocks = c("day", "epoch"), m = mean(picture_idx, na.rm = TRUE))

# Returns TRUE
is_reg_SL_tibble(reg_PAM)


[Package studentlife version 1.1.0 Index]