plot.sbarclass: Plot object of with class 'sbarclass'

Description Usage Arguments Details Value See Also Examples

View source: R/plot.sbarclass.R

Description

Plot an object with class:'sbarclass', plot fit or stock predictions with ggplot functions

Usage

1
2
## S3 method for class 'sbarclass'
plot(x, out = "fit", ...)

Arguments

x

object of class:sbarclass

out

a character that specifies whether the "fit" or "stock" should be plotted

...

No specific usage

Details

See vignette for a detailed example of this function in use.

Value

list

See Also

makesbarclass for to conversion into an object that can be used by this function.

Examples

1
2
3
4
## Not run:  
plot(x,out="fit")
  plot(x,out="stock")
## End(Not run)

lbatts/sbar documentation built on Feb. 25, 2022, 9:02 a.m.