PlotMargP: Plotting the occurrence points of a vector of point processes

Description Usage Arguments Details Value See Also Examples

View source: R/PlotMargP.R

Description

This function plots the points in the marginal processes N_{1}, N_{2},..., N_{d} of a vector of point processes.

Usage

1
PlotMargP(listpos, T, date=NULL,axispoints=NULL, tcex=1.2, ...)

Arguments

listpos

A list of vectors. Each element of the list is the vector of the occurrences in a marginal process.

T

Numeric value. The length of the observed period of the processes.

date

Optional. A vector indicating the date of each observation to be used in the axis of the plot.

axispoints

Optional. Numeric vector with the points in the time index in which axis ticks and labels (from date) will be drawn.

tcex

Optional. cex argument, see par, for the text labels in the plot.

...

Further arguments to be passed to the function plot.

Details

The points in the d marginal processes N_{1}, N_{2} ,..., N_{d} of a vector of point processes are plotted versus the time index.

If one of the arguments date and axispoints is NULL, default axis are used. Otherwise, the values in axispoints are used as the points in the time index in which axis ticks and labels, from date, are drawn.

Value

A plot.

See Also

PlotMCPSP

Examples

1
2
3
4
5
6
set.seed(123)
N1<-runif(50,0,5000)
set.seed(124)
N2<-runif(42,0,5000)

PlotMargP(list(N1=N1, N2=N2),T=5000)

IndTestPP documentation built on Aug. 29, 2020, 1:06 a.m.