plot.cadist: Distribution plotting

Description Usage Arguments Examples

Description

Plots distributions and joint uniform confidence bands of variables in interest from ca command.

Usage

1
2
3
## S3 method for class 'cadist'
plot(x, var, main = NULL, sub = NULL, xlab = NULL,
  ylab = NULL, ...)

Arguments

x

Output of ca command with interest = "dist".

var

Name of variable for plotting

main

Main title of the plot. Defualt is NULL.

sub

Sub title of the plot. Default is NULL.

xlab

x-axis label. Default is NULL.

ylab

y-axis label. Default is NULL.

...

graphics parameters to be passed to the plotting routines.

Examples

1
2
3
4
5
6
7
data("mortgage")
fm <- deny ~ black + p_irat
t <- c(rep(1, 2), rep(0, 14)) # Specify variables in interest
# Drawing Distributions
CAgraph <- ca(fm=fm, data = mortgage, var = "black", method = "logit",
              t = t, interest = "dist")
plot(x = CAgraph, var = "p_irat")

yuqimemeda/SortedEffects documentation built on Nov. 9, 2019, 3:49 a.m.