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
Afficher le fichier Open project: vimeo/ablincoln

Méthodes protégées

Méthode Description
_simpleExecute ( ) : array Choose a random sample of choices from the parameter array

Method Details

_simpleExecute() protected méthode

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