Class: NegRange

Inherits:
Range show all
Defined in:
lib/JRubyR/ruby_classes.rb

Overview

Class NegRange exists to represent a negative range, e.g., -(1…10). Such a range is used to index vectors and means all elements but the ones in the given range. Class NegRange is parsed to become “-(1:10)” in R.

Instance Attribute Summary

Attributes included from Renjin::RBSexp

#attr, #rvar, #scope, #sexp

Method Summary

Methods inherited from Range

#-@

Methods included from Renjin::RBSexp

#destroy, #pp, #print, #r, #rclass, #sexp?, #typeof, #unbind