random_binomial | R Documentation |
The values are drawn from a Binomial distribution with specified trial count and probability of success.
random_binomial(shape, counts, probabilities, dtype = NULL, seed = NULL)
shape |
The shape of the random values to generate. |
counts |
A number or array of numbers representing the
number of trials. It must be broadcastable with |
probabilities |
A float or array of floats representing the
probability of success of an individual event.
It must be broadcastable with |
dtype |
Optional dtype of the tensor. Only floating point types are
supported. If not specified, |
seed |
Optional R integer or instance of
Remark concerning the JAX backend: When tracing functions with the
JAX backend the global |
A tensor of random values.
Other random:
random_beta()
random_categorical()
random_dropout()
random_gamma()
random_integer()
random_normal()
random_seed_generator()
random_shuffle()
random_truncated_normal()
random_uniform()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.