View source: R/utils-find-index.R
find_index | R Documentation |
Find index of data that satisfies certain conditions
find_index(data, dayvar, beepvar)
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! |
A list of two vectors of indices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.