[Eventstudies-commits] r411 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Mar 13 12:35:11 CET 2015


Author: chiraganand
Date: 2015-03-13 12:35:11 +0100 (Fri, 13 Mar 2015)
New Revision: 411

Modified:
   pkg/man/manyfirmssubperiod.lmAMM.Rd
Log:
Modifed dates in the example, fixed package data loading.

Modified: pkg/man/manyfirmssubperiod.lmAMM.Rd
===================================================================
--- pkg/man/manyfirmssubperiod.lmAMM.Rd	2015-03-13 11:34:08 UTC (rev 410)
+++ pkg/man/manyfirmssubperiod.lmAMM.Rd	2015-03-13 11:35:11 UTC (rev 411)
@@ -59,8 +59,8 @@
 }
 
 \examples{
-data("StockPriceReturns")
-data("OtherReturns")
+data("StockPriceReturns", package = "eventstudies")
+data("OtherReturns", package = "eventstudies")
 
 firm.returns <- StockPriceReturns[, c("Infosys","TCS")]
 market.returns <- OtherReturns$NiftyIndex
@@ -72,12 +72,12 @@
            switch.to.innov = FALSE,
            market.returns.purge = FALSE,
            verbose = FALSE,
-	   dates = as.Date(c("2010-07-01", "2011-11-17", "2013-03-29")))
+	   dates = as.Date(c("2010-07-01", "2011-11-17", "2013-03-28")))
 
 res <- manyfirmssubperiod.lmAMM(firm.returns = firm.returns,
                                 X = X,
                                 lags = 1,
-                                dates = as.Date(c("2010-07-01", "2011-11-17", "2013-03-29")),
+                                dates = as.Date(c("2010-07-01", "2011-11-17", "2013-03-28")),
                                 periodnames = c("P1", "P2"),
                                 verbose = FALSE)
 print(res)



More information about the Eventstudies-commits mailing list