Description Usage Arguments Value Examples
Takes binomial trials from a probability field created by simField randomly from points on the field.
1 | samplePoints(field, N, M, replace = TRUE, times = NULL, ...)
|
field |
field object which simulated underlying data |
N |
int 1, Number of points to simulate |
M |
int, Number of trials for each point either 1 or N long |
replace |
logical, replace pixel probabilities in sampling? |
times |
vector of int, times to sample from |
... |
further argumnets for compatibility |
data.frame with observation number, number of trials, and the id of the pixel that the trail took place in.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.