Take a random sample of file streams in the dataset approximately by the probability specified.
take_sample_from_dataset(dataset, probability, seed = NULL)
The Dataset object.
The probability of a file stream being included in the sample.
An optional seed to use for the random generator.
A new Dataset object representing the sampled dataset.