Class: NegRange

Inherits:
Range show all
Defined in:
lib/R_interface/ruby_extensions.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.

Method Summary

Methods inherited from Range

#-@