pointwiseCARPlot: Pointwise Cumulative Abnormal Return Plot

Description Usage Arguments Value Examples

View source: R/estPlots.R

Description

Pointwise cumulative abnormal return plots

Usage

1
2
3
pointwiseCARPlot(df, firm = NULL, xlab = "",
  ylab = "pointwise Cumulative Abnormal Returns", facetVar = NULL,
  ncol = 4)

Arguments

df

data.frame with abnormal return in long format;

firm

set this parameter if just one firm should be plotted

xlab

x-axis label

ylab

y-axis label

facetVar

should each firm get its own plot. You may plot each firm in an own plot or by each group. (Default: NULL, available: Group and Firm)

ncol

number of facet columns

Value

a ggplot2 object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# plot abnormal returns in one plot
arPlot(resultParser)

# plot abnormal returns by group
arPlot(resultParser, facetVar = "Group")

This function must be revised

## End(Not run)

EventStudyTools/api-wrapper.r documentation built on May 7, 2018, 4:26 p.m.