dependencePlot: Kernel smoothed scatter plot

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/utilities.R

Description

Plots a kernel smoothed scatter plot of the provided rank-transformed sample. The work is done by the function panel.smoothScatter.

Usage

1
2
dependencePlot(var = NULL, smpl, bandwidth = 0.075,  main="Strength of dependence",
               transformation = function(x) x, margin=NULL, ...)

Arguments

var

Column IDs or variable names to be used. If not provided, the first two columns will be used.

smpl

a matrix (two-columns at least) holding the data

bandwidth

the bandwidth passed to the smoothing kernel

main

the title of the plot

transformation

a transformation passed to the kernel

margin

a quantile function to back transform the uniform margins to any other desired marginal distribution (typically qnorm). Note that the bandwidth parameter might need adjustment.

...

passed on to the function panel.smoothScatter

Details

see panel.smoothScatter

Value

A plot.

Note

This is simple wrapper to smoothScatter.

Author(s)

Benedikt Graeler

See Also

smoothScatter

Examples

1
## Not run: dependencePlot(smpl=rCopula(500,asCopula(c(-1,1))))

BenGraeler/spcopula documentation built on Nov. 20, 2020, 4:07 p.m.