[Eventstudies-commits] r23 - pkg/inst/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Sep 21 08:41:13 CEST 2011


Author: ashim
Date: 2011-09-21 08:41:13 +0200 (Wed, 21 Sep 2011)
New Revision: 23

Modified:
   pkg/inst/doc/eventstudies.Rnw
Log:
Fixed a bug in the vignette

Modified: pkg/inst/doc/eventstudies.Rnw
===================================================================
--- pkg/inst/doc/eventstudies.Rnw	2011-09-21 05:56:32 UTC (rev 22)
+++ pkg/inst/doc/eventstudies.Rnw	2011-09-21 06:41:13 UTC (rev 23)
@@ -116,7 +116,7 @@
 bootstrap inference for the main graph of the event study. This is illustrated in the following example.
 <<>>==
 library(xts)
-load("../../data/inr.rda")
+load(paste(system.file(package="eventstudies"),"data","inr.rda",sep="/"))
 inr.returns<-diff(log(inr))[-1]
 eventslist<-data.frame(unit=rep("inr",10),
                        when=as.Date(c(



More information about the Eventstudies-commits mailing list