Method: PAES_Analysis#arrayToC
- Defined in:
- lib/flukso/plots.rb
#arrayToC(input) ⇒ Object
275 276 277 278 279 280 281 282 283 284 285 286 |
# File 'lib/flukso/plots.rb', line 275 def arrayToC(input) retval="c(" input.each{|element| if element.instance_of?(String) retval += "\"#{element}\"," else retval += "#{element}," end } retval.sub!(/,$/, ""); # delete the last comma return retval+")"; end |