youth_network_shape: Format data for input into the youth Sojourn method's neural...

Description Usage Arguments Value

Description

Format data for input into the youth Sojourn method's neural networks

Usage

1
2
3
youth_network_shape(data, sojourns = TRUE, RAW = FALSE, epoch = 1,
  verbose = TRUE, expand = TRUE, time_var = "Timestamp",
  first_print = TRUE, ...)

Arguments

data

a data frame of monitor and demographic data to format

sojourns

logical. Should the data be windowed by Sojourn (TRUE) or with a static window (15-s; FALSE)?

RAW

logical. Are the data raw acceleration?

epoch

numeric. The epoch length of the data. Values other than one are not recommended.

verbose

logical. Print processing updates to the console?

expand

logical. Should collapsed data be replicated to match the length of the original input?

time_var

character scalar giving the variable name in data that gives the timestamps

first_print

logical. Print extra information?

...

further arguments passed to messager

Value

A data frame containing data that are ready for making predictions with the youth Sojourn method's neural networks


Sojourn documentation built on May 6, 2019, 9:02 a.m.