View source: R/revision_analysis.R
get_last_run | R Documentation |
the point of this operation is to get the value in values_from which occurs at the same index as the start of the last run of true values in bool_vec. for example, in c(1,1,0,1,1), we want the 4th entry, since there's a 0 breaking the run
get_last_run(bool_vec, values_from)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.