Description Usage Arguments Value
Returns a Raster* object whose values are random, Binomial(N,prob.seed), or just the corresponding values.
1 | rbinom_raster(size, prob, only.values = FALSE)
|
size |
Number, or Raster* object of sample sizes (must be integers). |
prob |
Number, or Raster* object of probabilities. |
only.values |
Return only the vector of non-NA values? |
A Raster* object of the same form as the input,
or if only.values
is TRUE
the vector of values.
At least one of size
or prob
must be Raster* objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.