[Eventstudies-commits] r195 - pkg/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Mar 16 13:25:42 CET 2014
Author: chiraganand
Date: 2014-03-16 13:25:42 +0100 (Sun, 16 Mar 2014)
New Revision: 195
Modified:
pkg/man/lmAMM.Rd
Log:
Fixed formatting of the example.
Modified: pkg/man/lmAMM.Rd
===================================================================
--- pkg/man/lmAMM.Rd 2014-03-16 12:23:58 UTC (rev 194)
+++ pkg/man/lmAMM.Rd 2014-03-16 12:25:42 UTC (rev 195)
@@ -57,14 +57,20 @@
\examples{
# lmAMM
data("lmAMMData")
+
firm.returns <- lmAMMData[,"Infosys"]
market.returns <- lmAMMData[,"index.nifty"]
currency.returns <- lmAMMData[,"currency.inrusd"]
+
## Creating regressors for AMM estimation using makeX function
-X <- makeX(market.returns, others=currency.returns,
- switch.to.innov=FALSE, market.returns.purge=FALSE, verbose=FALSE)
-a <- lmAMM(firm.returns, X, nlags=0, verbose=FALSE)
+X <- makeX(market.returns,
+ others = currency.returns,
+ switch.to.innov = FALSE,
+ market.returns.purge = FALSE,
+ verbose = FALSE)
+
+a <- lmAMM(firm.returns, X, nlags = 0, verbose = FALSE)
print(a)
}
-\keyword{lmAMM}
\ No newline at end of file
+\keyword{lmAMM}
More information about the Eventstudies-commits
mailing list