Module: R::MDIndexedObject
Overview
Module to be included for objects that have multi dimensional indices, such as array and dataframe
Instance Method Summary collapse
-
#[](*index) ⇒ Object
————————————————————————————– Index a DataFrame by using [] ————————————————————————————–.
Instance Method Details
#[](*index) ⇒ Object
Index a DataFrame by using []
37 38 39 40 41 42 43 |
# File 'lib/R_interface/rmd_indexed_object.rb', line 37 def [](*index) if (index.size > 1) R::Support.exec_function(R::Support.md_index, @r_interop, *index) else super(*index) end end |