[Eventstudies-commits] r293 - in pkg: man vignettes
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Apr 28 13:28:35 CEST 2014
Author: chiraganand
Date: 2014-04-28 13:28:35 +0200 (Mon, 28 Apr 2014)
New Revision: 293
Modified:
pkg/man/phys2eventtime.Rd
pkg/vignettes/AMM.Rnw
Log:
Fixed phys2eventtime example, correct bib entry name in AMM vignette.
Modified: pkg/man/phys2eventtime.Rd
===================================================================
--- pkg/man/phys2eventtime.Rd 2014-04-28 10:37:32 UTC (rev 292)
+++ pkg/man/phys2eventtime.Rd 2014-04-28 11:28:35 UTC (rev 293)
@@ -85,8 +85,9 @@
c.no <- as.numeric(colnames(result$z.e))
cnames <- SplitDates[c.no[1],]
phys.output <- as.numeric(result$z.e[as.character(c(-5:5)), as.character(c.no[1])])
-loc <- which(index(StockPriceReturns)%in%SplitDates[c.no[1], "event.when"])
-raw.data <- as.numeric(StockPriceReturns[c((loc-5):(loc+5)), SplitDates[c.no[1], "outcome.unit"]])
+loc <- which(index(StockPriceReturns) \%in\% SplitDates[c.no[1], "event.when"])
+raw.data <- as.numeric(StockPriceReturns[c((loc-5):(loc+5)),
+ SplitDates[c.no[1], "outcome.unit"]])
check.output <- cbind(raw.data, phys.output)
check.output
}
Modified: pkg/vignettes/AMM.Rnw
===================================================================
--- pkg/vignettes/AMM.Rnw 2014-04-28 10:37:32 UTC (rev 292)
+++ pkg/vignettes/AMM.Rnw 2014-04-28 11:28:35 UTC (rev 293)
@@ -172,5 +172,5 @@
using \textit{eventstudy} function. which is presented in
\textit{eventstudies} vignette.
-\bibliographystyle{jss} \bibliography{amm}
+\bibliographystyle{jss} \bibliography{AMM}
\end{document}
More information about the Eventstudies-commits
mailing list