plotXY: Function plotXY

plotXYR Documentation

Function plotXY

Description

Plots bivariate correlation based on two numeric vectors.

Usage

plotXY(
  x = NULL,
  y = NULL,
  complexity = 0,
  rep.nnet = 10,
  attrModel = T,
  na.rm = T,
  color1 = rgb(0, 0, 0, 0.7),
  color2 = rgb(0, 0, 1),
  color3 = rgb(0, 0, 1, 0.2),
  xlab = "x",
  ylab = "y",
  axes = T,
  add = F,
  main = NA,
  sub = NA,
  pch = 16,
  lwd = 2,
  cex = 0.7,
  cex.sub = 0.7,
  generalize = F,
  main1 = NULL,
  main2 = NULL,
  main3 = NULL,
  mar = NA,
  adj.main1 = 0,
  adj.main2 = 0,
  adj.main3 = 0,
  col.main1 = "black",
  col.main2 = "black",
  col.main3 = "black",
  cex.main1 = 1.2,
  cex.main2 = 1.2,
  cex.main3 = 1.2,
  font.main1 = 1,
  font.main2 = 2,
  font.main3 = 4,
  ...
)

Arguments

x

Numeric vector.

y

Numeric vector of the same length as x.

complexity

Numeric value specifying the amount of nonlinearity modelled. Defaults to 0 (i.e., a linear model).

rep.nnet

Numeric value specifying the number of nnet-objects to choose the best model from.

attrModel

Logical value specifying whether to add the model as an attribute to the object returned.

na.rm

Logical value indicating whether missing values should be skipped. Defaults to T.

color1

Color of points in the scattergram. Defaults to rgb(0,0,0,.7).

color2

Color of the regression line. Defaults to rgb(0,0,1).

color3

Color of the prediction interval. Defaults to rgb(0,0,1,.2).

...

additional parameters passed to the plot function.

Details

Plots scattergram and bivariate correlation based on two numeric vectors.

Examples

plotXY()

AndreasFischer1985/quantqual documentation built on June 20, 2022, 4:55 p.m.