Method: Statsample::GGobi.values_definition

Defined in:
lib/statsample/converters.rb

.values_definition(c, missing) ⇒ Object


171
172
173
174
175
176
177
178
179
180
181
# File 'lib/statsample/converters.rb', line 171

def values_definition(c,missing)
  c.collect{|v|
    if v.nil?
      "#{missing}"
    elsif v.is_a? Numeric
      "#{v}"
    else
      "#{v.gsub(/\s+/,"_")}"
    end
  }.join(" ")
end