Return a sampled subset of this SparkDataFrame using a random seed.
Note: this is not guaranteed to provide exactly the fraction specified
of the total count of of the given SparkDataFrame.
Usage
sample(x, withReplacement, fraction, seed)
sample_frac(x, withReplacement, fraction, seed)
# S4 method for SparkDataFrame,logical,numeric
sample(x, withReplacement, fraction,
seed)
# S4 method for SparkDataFrame,logical,numeric
sample_frac(x, withReplacement,
fraction, seed)