CheckData: checks input data for pdf-estimation and some...

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

View source: R/CheckData.R

Description

checks input data for pdf-estimation and some overlap-estimators

Usage

1
CheckData(data, normalize = FALSE, Interpolate = TRUE)

Arguments

data

data-frame; Abundance dataset. It must have two columns, one wih date-objects one with numeric values.

normalize

logical; determines, whether data will be normalized or if probabilities will be estimated in another way. Runs additional checks if TRUE.

interpolate

logical; determines whether data should be interpolated later on or not. Will run additional Checks if TRUE.

Details

This function Checks if the data fits the requirements for the distribution estimation and for some of the Overlapmeasures As it Checks the data, the data argument can be everything, but it will only be returned again, if it's a dataframe with two columns, one with dates and one with numerics It has an Dataframe as outcome, which is exactly like the data that is given but the two columns are called Date and Count

Value

data.frame. Same as data(input) but with renamed columns, one named Date (the one with date objects) and one named Count.

Author(s)

Florian Berger <florian_berger@ymail.com>

See Also

scale

Examples

1
2
a <- NormData(mean=0, sd =20 ,n=1000, FillUp = FALSE)
newa <- FillUp(a, NA)

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