dev_parse_activity: Parse a set of ACTIVITY packets

View source: R/RcppExports.R

dev_parse_activityR Documentation

Parse a set of ACTIVITY packets

Description

Parse a set of ACTIVITY packets

Usage

dev_parse_activity(packets, packet_no, zero_packet, samp_rate, scale_factor)

Arguments

packets

list of packets

packet_no

IntegerVector indicating which index of packets to use for each second of expected output. Values of -1 indicate a latch to the previous index

zero_packet

list containing a properly-formatted packet pre-filled with values of zero (used for USB connection events)

samp_rate

int. The sampling rate

scale_factor

int. The scaling factor


AGread documentation built on Sept. 13, 2022, 5:06 p.m.