Description Usage Arguments Details Value
Get rows of a data frame between two row indexes
1 | getDataRows(i, data, firstRow, lastRow)
|
i |
Integer: current iteration |
data |
Data.frame: contains the data of interest |
firstRow |
Vector of integers: First row index of interest; value must be less than the respective last row index and less than the number of rows in the data frame |
lastRow |
Vector of integers: Last row index of interest; value must be higher than the respective first row index and less than the number of rows in the data frame |
For a given iteration i, returns data from firstRow[i]
to
lastRow[i]
Data frame subset from two row indexes (returns NA if the first row index is NA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.