plot: Plot object with class pframe_1d

Description Usage Arguments Value Author(s) Examples

Description

Plot method for object with class pframe_1d. The method prints the trend of each particle trajectory.

Usage

1
2
## S3 method for class 'pframe_1d'
plot(obj, clean = FALSE, ...)

Arguments

obj

Object of pframe_1d class

clean

Print a prettified version of plot

Value

Graphical plot of obj

Author(s)

Justin Thong justinthong93@gmail.com

Examples

1
2
3
4
plot(particle(pframe_1d()))
set.seed(1)
x<-c(1,2,3,4,4,4,5,4,5,4,4,4,4,4,4) #true means of state model
plot(particle(pframe_1d(N=100,smooth=FALSE,y=rnorm(length(x),mean=x))))

tintinthong/pfilter documentation built on May 24, 2019, 9:55 a.m.