`R/datasets.R`

`take_sample_from_dataset.Rd`

Take a random sample of file streams in the dataset approximately by the probability specified.

take_sample_from_dataset(dataset, probability, seed = NULL)

dataset | The Dataset object. |
---|---|

probability | The probability of a file stream being included in the sample. |

seed | An optional seed to use for the random generator. |

A new Dataset object representing the sampled dataset.