Skip to content

RandomChoice

Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand. No examples yet — the crosswalk is the reason it has a page.

RandomChoice(domain, k): a list of k independent draws from `domain`, with replacement. `k` may exceed the size of the domain — that is what replacement means.

RandomChoice(collection<any> | set<real>, number) random -> list<any>as compute-engine declares it

Domain: Compute engine