PHP Class Vimeo\ABLincoln\Operators\Random\Sample

Required Inputs: - 'choices': array of choices to sample Optional Inputs: - 'draws': number of samples to draw
Inheritance: extends Vimeo\ABLincoln\Operators\RandomOperator
Datei anzeigen Open project: vimeo/ablincoln

Protected Methods

Method Description
_simpleExecute ( ) : array Choose a random sample of choices from the parameter array

Method Details

_simpleExecute() protected method

Choose a random sample of choices from the parameter array
protected _simpleExecute ( ) : array
return array the random sample select from the parameter array