Skip to main content

Data Sampler

Component to sample observations from a dataset and pass it to child components.

Options#

  • data | object (required): data object with keys corresponding to column variables. Default: none.
  • sampleSize | number: default sample size. Default: 50.
  • minSampleSize | number: minimum allowed sample size. Default: 1.
  • maxSampleSize | number: maximum allowed sample size. Default: none.

Examples#

Live Editor
Result
Last updated on by Planeshifter