Description Usage Arguments Details Value Author(s) See Also Examples
Fits uniform distribution to abundance data (data.frame)
1 |
data |
data.frame; abundance data, with one column of date objects and one with numeric values. |
CheckData |
logical; if TRUE CheckData function will check format of input data.frame |
Fits uniform distribution to abundance data, by using the dunif() function and giving it the minimum and maximum dates of the input dataframe.
returns a list with the levels: $func = a function object, that is created by this function using the dunif() function. $estimationmethod = 'uniform', $startpoint = minimum of dates column in input dataframe, $endpoint = maximum of dates column in input dataframe.
Florian Berger <florian_berger@ymail.com>
1 2 3 4 5 | a <- c(1:10)
dates <- as.Date(a, origin = '2017-01-01')
count <- c(1,1,3,4,6,9,5,4,2,1)
dat <- data.frame(dates, count)
uniform(dat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.