[R-SIG-Finance] [R-sig-finance] Surface plot of multivariate time series

megh megh700004 at yahoo.com
Tue Jun 2 19:25:32 CEST 2009


It is saying that, this package is not available :

> install.packages("tramePlus")
Warning in install.packages("tramePlus") :
  argument 'lib' is missing: using
'C:\Users\Arrun's\Documents/R/win-library/2.9'
--- Please select a CRAN mirror for use in this session ---
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
  package ‘tramePlus’ is not available

Any better idea please?




megh wrote:
> 
> Hi, I have following multivariate time series :
> start = as.Date("01/01/05", format="%m/%d/%y")
> end = as.Date("12/31/05", format="%m/%d/%y")
> dates = seq(start, end, by=1)
> 
> dat = matrix(rnorm(length(dates)*4), length(dates))
> dat1 = t(apply(dat, 1, function(x) x+t(c(100, 110, 120, 130))))
> 
> library(zoo)
> dat2 = zoo(dat1, dates); head(dat2)
> 
> Now I want to get "surface plot" wherein x-axis is time, y-axis represents
> 1,2,3,4, and z-axis is for values of "dat2". Is there any R drawing device
> to do that?
> 
> Regards,
> 

-- 
View this message in context: http://www.nabble.com/Surface-plot-of-multivariate-time-series-tp23827284p23836769.html
Sent from the Rmetrics mailing list archive at Nabble.com.



More information about the R-SIG-Finance mailing list