[Eventstudies-commits] r272 - in pkg: data inst/tests man vignettes
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Apr 1 12:37:11 CEST 2014
Author: chiraganand
Date: 2014-04-01 12:37:11 +0200 (Tue, 01 Apr 2014)
New Revision: 272
Added:
pkg/data/INR.rda
pkg/man/INR.Rd
Removed:
pkg/data/inr.rda
pkg/man/inr.Rd
Modified:
pkg/inst/tests/test_inr_inference.R
pkg/vignettes/eventstudies.Rnw
Log:
Modified the name of INR data set.
Copied: pkg/data/INR.rda (from rev 264, pkg/data/inr.rda)
===================================================================
(Binary files differ)
Deleted: pkg/data/inr.rda
===================================================================
(Binary files differ)
Modified: pkg/inst/tests/test_inr_inference.R
===================================================================
--- pkg/inst/tests/test_inr_inference.R 2014-04-01 10:19:53 UTC (rev 271)
+++ pkg/inst/tests/test_inr_inference.R 2014-04-01 10:37:11 UTC (rev 272)
@@ -3,9 +3,9 @@
test_that("test.inr.inference", {
library(eventstudies)
-load(system.file("data", "inr.rda",package = "eventstudies"))
+load(system.file("data", "INR.rda",package = "eventstudies"))
-inr_returns <- diff(log(inr))[-1]
+inr_returns <- diff(log(INR))[-1]
eventslist <- data.frame(outcome.unit=rep("inr",10),
event.when=as.Date(c(
Copied: pkg/man/INR.Rd (from rev 269, pkg/man/inr.Rd)
===================================================================
--- pkg/man/INR.Rd (rev 0)
+++ pkg/man/INR.Rd 2014-04-01 10:37:11 UTC (rev 272)
@@ -0,0 +1,18 @@
+\name{INR}
+\alias{INR}
+\docType{data}
+
+\title{Exchange rate data of Indian Rupee to US Dollar}
+
+\description{
+ A sample of INR/USD rates from 1990 to 2011.
+}
+\usage{data(INR)}
+
+\format{\pkg{zoo}}
+
+\examples{
+data(INR)
+}
+
+\keyword{datasets}
Deleted: pkg/man/inr.Rd
===================================================================
--- pkg/man/inr.Rd 2014-04-01 10:19:53 UTC (rev 271)
+++ pkg/man/inr.Rd 2014-04-01 10:37:11 UTC (rev 272)
@@ -1,18 +0,0 @@
-\name{inr}
-\alias{inr}
-\docType{data}
-
-\title{Exchange rate data of Indian Rupee to US Dollar}
-
-\description{
- A sample of INR/USD rates from 1990 to 2011.
-}
-\usage{data(inr)}
-
-\format{\pkg{zoo}}
-
-\examples{
-data(inr)
-}
-
-\keyword{datasets}
Modified: pkg/vignettes/eventstudies.Rnw
===================================================================
--- pkg/vignettes/eventstudies.Rnw 2014-04-01 10:19:53 UTC (rev 271)
+++ pkg/vignettes/eventstudies.Rnw 2014-04-01 10:37:11 UTC (rev 272)
@@ -169,8 +169,8 @@
<<>>=
data(SplitDates)
head(SplitDates)
-data(inr)
-inrusd <- diff(log(inr))*100
+data(INR)
+inrusd <- diff(log(INR))*100
all.data <- merge(StockPriceReturns,nifty.index,inrusd,all=TRUE)
StockPriceReturns <- all.data[,-which(colnames(all.data)%in%c("nifty.index", "inr"))]
nifty.index <- all.data$nifty.index
More information about the Eventstudies-commits
mailing list