Hi,
How can an xts object be subset using a date in a variable? 
E.g. in below, what is the right syntax for Q to get the same value as P?
Obviously the syntax shown below doesnt work...
V is an xts object.

d = "2007-01-01"
P <- V['2007-01-01/']
Q <- V['d/']

Thanks,
J



--
View this message in context: 
http://r.789695.n4.nabble.com/XTS-Subsetting-question-noob-tp4646317.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to