sslice {refer}R Documentation

Create a Safer Reference Slice to a Vector

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

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"


[Package refer version 0.1.0 Index]