WACSplotdensity: For plotting fitted bivariate densities of residuals

Description Usage Arguments Note Examples

View source: R/WACSplotdensity.R

Description

For plotting fitted bivariate densities of residuals

Usage

1
2
3
4
5
6
7
8
WACSplotdensity(
  wacsdata = NULL,
  wacspar = NULL,
  season,
  dimens = c(1, 2),
  dry = T,
  DIR = "./"
)

Arguments

wacsdata

WACS data obtained when calling WACSdata on original climate series

wacspar

WACS parameters estimated when calling WACSestim

season

season to be considered (a scalar)

dimens

a vector of length 1 or 2 indicating the marginals to be plotted

dry

indicates whether dry weather states (if dry=TRUE) or wet weather states (if dry=FALSE) must be considered

DIR

Directory in which saving the Figures

Note

If length(dimens)=1, the bivariate density of the variable at days (d,d+1) is plotted. If length(dimens)=2, the same-day bivariate density of the pair of variables is plotted.

Examples

1
2
3
4
5
6
7
8
## Not run: 
  ## Simple example
  data(ClimateSeries)
  ThisData = WACSdata(ClimateSeries)
  ThisPar  = WACSestim(ThisData)
  WACSplotdensity(ThisData,ThisPar,season=2,dimens=c(2,3),dry=TRUE) 

## End(Not run)

WACS documentation built on July 1, 2020, 5:22 p.m.

Related to WACSplotdensity in WACS...