FillUp: Fills up abundance data-set

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

View source: R/FillUp.R

Description

Fills up not specified data-points (whole days) in an abundance dataset.

Usage

1
FillUp(Data, Fillup = 0)

Arguments

data

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

FillUp

numeric; This will be what will be filled up. for example 0, NA etc.

Details

will fill up a abundance dataset, meaning that it will add the value given by the Fillup argument for all the dates, that are not existing in the dataset given by the Data argument. Only dates that are in between the minimum and the maximum of the dates in Data. the input data needs to have two columns, one named dates which should be filled with dates and count.

Value

data.frame. Same as data(input) but with filled up not specified dates.

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.