search for: cdsmod

Displaying 1 result from an estimated 1 matches for "cdsmod".

2008 Jul 31
1
Rearranging Data
Hi everyone, A few days back Jim helped with out, helping me find an automated way of determining the mean and median of intervals between price changes. However, a new set of data I have is no longer in the same format. CDSmod is the file that was used with this code: x <- read.csv('/cdsmod.csv', as.is=TRUE, check.names=FALSE) x$Date <- as.Date(x$Date, "%m/%d/%Y") require(zoo) out <- lapply(x[-1], function(.cnty){ # iterate for each country # create a dataframe of the date and currency...