determine_position | R Documentation |
Calculates the position for inserting a new row in a data frame
determine_position(.data, record, .before = NULL, .after = NULL)
.data |
Original data frame |
record |
New row to be inserted |
.before |
Optional. Row number before which to insert |
.after |
Optional. Row number after which to insert |
List containing the potentially modified data frame and insertion position
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.