Learn R Programming

synlik (version 0.1.0)

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

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.

Arguments

x
An object of class synlik.
...
additional arguments to be passed to object@plotFun.

Value

  • NULL

See Also

synlik-class, plot.

Examples

Run this code
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)

Run the code above in your browser using DataLab