determine_position: Determine Row Insertion Position

View source: R/add_record.R

determine_positionR Documentation

Determine Row Insertion Position

Description

Calculates the position for inserting a new row in a data frame

Usage

determine_position(.data, record, .before = NULL, .after = NULL)

Arguments

.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

Value

List containing the potentially modified data frame and insertion position


matriz documentation built on April 3, 2025, 7:22 p.m.