[R-SIG-Finance] "xts" as S4 slot class

Stanley Chu chd850 at gmail.com
Fri Oct 28 15:09:50 CEST 2011


Hi guys,

I am trying to set my slot class to be "xts", and am having some problems. Does anyone know what to do to make this work?

setClass("data", representation(data  = "xts"))
new("data", data = xts())

Thanks,
Stanley



More information about the R-SIG-Finance mailing list