is_reg_SL_tibble: is_reg_SL_tibble

Description Usage Arguments Value Examples

Description

Confirm that an object is a regularised StudentLife tibble

Usage

1

Arguments

x

Any object

Value

Logical

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)

frycast/studentlife documentation built on April 25, 2021, 11:09 a.m.