sslice: Create a Safer Reference Slice to a Vector

Description Usage Arguments Value

View source: R/sref.R

Description

Create a reference to a 'part' of an R object. sslice behaves similar to slice, but does not have support for direct operations on the referenced object. See sref for details about the behavior.

Usage

1
sslice(x, ...)

Arguments

x

object to be referenced; must be a symbol or character

...

objects passed to x[...] when dereferenced

Value

object of class "sslice" and "sref"


refer documentation built on Nov. 8, 2021, 5:08 p.m.