getN {PNAR}R 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)

[Package PNAR version 1.6 Index]