This is the abstract base class for sampling objects like Sampler1D, SamplerHierarchical or SamplerJointIndep.
param_set(ParamSet)
Domain / support of the distribution we want to sample from.
new()Creates a new instance of this R6 class.
Note that this object is typically constructed via derived classes, e.g., Sampler1D.
Sampler$new(param_set)param_set(ParamSet)
The ParamSet to associated with this Sampler.
n(integer(1)).
Design.
...(ignored).
...(ignored).
clone()The objects of this class are cloneable with this method.
Sampler$clone(deep = FALSE)deepWhether to make a deep clone.
Other Sampler: 
Sampler1D,
Sampler1DCateg,
Sampler1DNormal,
Sampler1DRfun,
Sampler1DUnif,
SamplerHierarchical,
SamplerJointIndep,
SamplerUnif