Position: Element position in list.

View source: R/generic_element_position.R

PositionR Documentation

Element position in list.

Description

Element position in list.

Usage

Position(x, after = TRUE)

Arguments

x

either an integer position (useful to add an element in a code record at a specified position) or an model element (element can be a model statement or a code record)

after

element to be added will be added after x (if after is TRUE) or before x (if after is FALSE)

Value

a position object


campsismod documentation built on Oct. 12, 2023, 5:13 p.m.