Sub_set: 'Sub_set' Count the number of observation during a certain...

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

Sub_set Count the number of observation during a certain period of time.

Usage

1

Arguments

tr.

A vector giving time of events (eg removals) that occur during a time period.

time.

A sequence of time a which observations were performed/

Value

It returns the number of observation recorded at each time.

Examples

1
2
3
time = seq(1,10)
tr = sort(runif(30,0,10))
Sub_set(tr, time)

holaanna/contactsimulator documentation built on Dec. 2, 2019, 2:39 a.m.