Sha256: a96ebff6cfaba18ce81a1b9482a73e897e8c21a88513b0f15d46b3cb2287de94
Contents?: true
Size: 429 Bytes
Versions: 19
Compression:
Stored size: 429 Bytes
Contents
# Several additions to Statsample objects, to support # rserve-client module Statsample class Vector def to_REXP Rserve::REXP::Wrapper.wrap(data_with_nils) end end class Dataset def to_REXP names=@fields data=@fields.map {|f| Rserve::REXP::Wrapper.wrap(@vectors[f].data_with_nils) } l=Rserve::Rlist.new(data,names) Rserve::REXP.create_data_frame(l) end end end
Version data entries
19 entries across 19 versions & 1 rubygems