mp: Create objects of class 'mproc'

Description Usage Arguments Value Author(s) Examples

Description

A function to create objects of class mproc, allowing manipulation of multiple simultaneous point processes.

Usage

1
mp(..., start = numeric(0), end = numeric(0))

Arguments

...

either a list of vectors of event times, or the same vectors given as a sequence of arguments.

start

the start of observations, must be smaller than all event times. If not specified the start will be set to the smallest event time.

end

the end of observations, must be greater than all event times. If not specified the end will be set to the greatest event time.

Value

An object of class mproc with slots:

events

a list of vectors of event times.

start

the start of observations.

end

the end of observations.

Author(s)

Patrick Rubin-Delanchy <patrick.rubin-delanchy@bristol.ac.uk>

Examples

1
2
3
mp(runif(10))
mp(runif(10), runif(10), start=0, end=1)
mp(list(runif(10), runif(10)), start=0, end=1)

mppa documentation built on May 2, 2019, 2:48 a.m.