last-methods: First and Last methods for accessing objects

last-methodsR Documentation

First and Last methods for accessing objects

Description

Functions for accessing first-n and last-n values of an object (similar to head and tail).

Usage

last(x, index = 1, ...)
first(x, index = 1, ...)

Arguments

x

Currently only arrays supported.

index

First or Last n-indices to return values for.

...

For expansion to other classes.

Methods

signature(x = "ANY")
signature(x = "array")

Author(s)

Alexios Galanos


rmgarch documentation built on Sept. 1, 2025, 1:09 a.m.