plot-synlik: Method for plotting an object of class 'synlik'.

Description Usage Arguments Author(s) See Also Examples

Description

It basically calls the slot object@plotFun with input object@data, if it has been provided by the user. Otherwise it tries to use the plot(x = object@data, y, ...) generic.

Usage

1
2
## S4 method for signature 'synlik,missing'
plot(x, y, ...)

Arguments

x

An object of class synlik.

y

Useless argument, only here for compatibility reasons.

...

additional arguments to be passed to object@plotFun.

Author(s)

Matteo Fasiolo <matteo.fasiolo@gmail.com>

See Also

synlik-class, plot.

Examples

1
2
3
4
5
6
7
8
data(ricker_sl)

# Using ricker_sl@plotFun
plot(ricker_sl)

# Using generic plot, doesn't work well because object@data is a matrix. 
ricker_sl@plotFun <- NULL
plot(ricker_sl)

synlik documentation built on May 25, 2021, 5:09 p.m.