sample.occurrence: Sample N occurrence time within range.

Description Usage Arguments

Description

Sample N occurrence time within range.

Usage

1
sample.occurrence(df, range, N = 10, seed = 2017)

Arguments

df

the input data frame.

range

the datetime range within which samples are drawn. It is a vector of two elements, which mark the start and end datetime of the range.

N

number of samples to draw.

seed

random seed, an integer.


profyliu/smpesgm2017 documentation built on May 26, 2019, 12:33 a.m.