Sampler1D

0th

Percentile

Sampler1D Class

1D sampler, abstract base class for Sampler like Sampler1DUnif, Sampler1DRfun, Sampler1DCateg and Sampler1DNormal.

Keywords
datasets
Format

R6::R6Class inheriting from Sampler.

Construction

Note: This object is typically constructed via a derived classes, e.g. Sampler1DUnif, Sampler1DRfun, Sampler1DCateg or Sampler1DNormal.

smpl = Sampler1D$new(param)
  • param :: Param Domain / support of the distribution we want to sample from.

Fields

See Sampler. Additionally, the class provides:

  • param :: Param Returns the one Parameter that is sampled from.

Methods

See Sampler.

See Also

Other Sampler: Sampler1DCateg, Sampler1DNormal, Sampler1DRfun, Sampler1DUnif, SamplerHierarchical, SamplerJointIndep, SamplerUnif, Sampler

Aliases
  • Sampler1D
Documentation reproduced from package paradox, version 0.1.0, License: LGPL-3

Community examples

Looks like there are no examples yet.