getN: Count the number of events within a specified time

View source: R/getN.R

getNR Documentation

Count the number of events within a specified time

Description

This function counts the number of events within a specified time.

Usage

getN(x, tt = 1)

Arguments

x

A matrix of (positive) inter-event times.

tt

A positive time.

Value

The number of events within time tt (possibly 0), for each column of x.

Author(s)

Mirko Armillotta, Michail Tsagris and Konstantinos Fokianos.

See Also

rcopula, poisson.MODpq, poisson.MODpq.log

Examples

x <- rcopula(n = 100, N = 50, rho = 0.3)
getN(x)

PNAR documentation built on Sept. 12, 2024, 7:30 a.m.