methods.tpp: Methods for temporal point patterns

methods.tppR Documentation

Methods for temporal point patterns

Description

Methods for temporal point patterns.

Usage

## S3 method for class 'tpp'
plot(x,xlab="time",ylab="",main = "cumulative number",...)
## S3 method for class 'tppint'
plot(x,xlab=xlab,xlim=xlim,line=2.5,main="NULL",...)
## S3 method for class 'tpp'
print(x,...)
## S3 method for class 'tppint'
print(x,...)
## S3 method for class 'tpp'
x[i]
## S3 method for class 'tppint'
x[i]

Arguments

x

an object of class tpp or tppint.

xlab,ylab

the x,y label of the plot.

main

overall title for the plot.

xlim

giving the x limits for the plot.

line

specifying a value for line overrides the default placement of y label, and places it this many lines outwards from the plot edge.

i

numeric, logical, or an object of class tpp

...

graphics parameters passed to plot/print function.

Author(s)

Mehdi Moradi <m2.moradi@yahoo.com>

Examples

X <- tpp(sample(c(1:24),200,replace = TRUE))
plot(X)
plot(density(X))

stlnpp documentation built on Nov. 11, 2022, 9:11 a.m.