Module: R::ExpUniOp

Defined in:
lib/R_interface/runary_operators.rb

Instance Method Summary collapse

Instance Method Details

#exec_uni_oper(operator) ⇒ Object





45
46
47
48
49
50
51
# File 'lib/R_interface/runary_operators.rb', line 45

def exec_uni_oper(operator)
  # op1 = prep(self)
  # op2 = prep(other_object)      
  # R::Expression.build(operator, self)
  optr = operator.delete("`")
  R::Expression.build("#{operator}#{self}")
end