checkProbFunc: checks input data for EstimatorData() Function

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/CheckProbFunc.R

Description

checks input data if it fits the requirenments of the EstimatorData() Function

Usage

1

Arguments

data

list; list that is to be checked, as returned by estdist() or uniform() function.

Details

This function Checks whether given data fits requirenments for the EstimatorData() function those need to have a $startpoint, $endpoint and $func, $func needs to be a function It doesn't return anything. Use prior to EstimatorData() Function.

Value

nothing.

Author(s)

Florian Berger <florian_berger@ymail.com>

See Also

scale

Examples

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)
checkProbFunc(estdist(dat, returnonlyfunction = FALSE))

biometry/phenologicalOverlap documentation built on May 21, 2019, 2:31 a.m.