find_index {quadVAR} | R Documentation |
Find index of data that satisfies certain conditions
Description
Find index of data that satisfies certain conditions
Usage
find_index(data, dayvar, beepvar)
Arguments
data |
A data frame. |
dayvar |
String indicating assessment day. Adding this argument makes sure that the first measurement of a day is not regressed on the last measurement of the previous day. IMPORTANT: only add this if the data has multiple observations per day. |
beepvar |
Optional string indicating assessment beep per day. Adding this argument will cause non-consecutive beeps to be treated as missing! |
Value
A list of two vectors of indices.
[Package quadVAR version 0.1.2 Index]