Description
This tool draws samples from an empirical distribution. It is primarily intended as a testing tool to verify that the distributions you have specified will produce the desired result when used in conjunction with the movement modelling commands, like movement.simplecrw. Please refer to the 'Distributions' appendix for detailed instructions on how to specify an empirical distribution.
Syntax
sample.empirical(in, out, sample);
| in | the input empirical distribution (a character delimited text file with or without header line) | |
| out | the output text file to write the sampled values to | |
| sample | the number of samples to generate |
Example
sample.empirical(in="C:\data\distrib1.csv", out="C:\data\samples.csv", sample=10000);