Description Usage Arguments Details Value Author(s) See Also Examples
Creates abundance dataset from a normal distribution
1 |
mean |
numeric; Mean for the underlying normal distribution, will be interpreted as difference of days from the 01-01-2017 |
sd |
numeric; standard deviation of the underlying normal distribution. |
n |
numeric, whole number; number of drawings to be done from the normal distribution, also the number of observations in the whole dataset. |
FillUp |
logical; If TRUE not specified datapoints will be filled with 0. |
This function will create an abundance dataset, a data.frame, with two columns, one called dates and one called count. It will get n realizations of a normal distributions with the parameters given by mean and sd. It will round those to whole numbers and convert them into dates, by treating these realizations as differences from the 2017-01-01. If fillup = TRUE it will fillup the dates that are in between the minimum and maximum of the dates, and give count values of zero for those days.
a dataframe with two columns; one with date objects, one with the number of observations on the respective dates.
Florian Berger <florian_berger@ymail.com>
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.