Learn R Programming

foieGras (version 0.7-6)

plot.fG_simfit: plot

Description

visualize tracks simulated from a foieGras model fit

Usage

# S3 method for fG_simfit
plot(x, ncol = 1, pal = "Zissou1", ...)

Arguments

x

a foieGras simulation data.frame with class fG_simfit

ncol

number of columns to arrange multiple plots

pal

hcl.colors palette to use (default: "Zissou1"; type hcl.pals() for options)

...

additional arguments to be ignored

Value

Plots of simulated tracks.

Examples

Run this code
# NOT RUN {
## generate a fG_ssm fit object (call is for speed only)
xs <- fit_ssm(sese2, spdf=FALSE, model = "crw", time.step=72, 
control = ssm_control(se = FALSE, verbose = 0))

trs <- simfit(xs, what = "p", reps = 1)
plot(trs, ncol = 2)

# }

Run the code above in your browser using DataLab