xts icon indicating copy to clipboard operation
xts copied to clipboard

Time-series Index not generated at all the frequencies

Open loneharoon opened this issue 8 years ago • 3 comments

I recently found that the time-series generated via xts method (timeBasedSeq) is either at a default rate of 1 hour or 1 minute or 1 second. Can you extend the existing functions to add custom duration say 10 minutes or 30 seconds.

loneharoon avatar Mar 21 '16 14:03 loneharoon

You mention "xts methods". Are there any methods other than timeBasedSeq (which you mentioned in your StackOverflow question) that should have this feature?

joshuaulrich avatar Mar 21 '16 14:03 joshuaulrich

Sorry, It was a typo. I have updated the issue.

loneharoon avatar Mar 21 '16 14:03 loneharoon

there is no 'by' argument in timeBasedSeq as there is in seq. You can use endpoints if you want to subset the sequence you create with timeBasedSeq

braverock avatar Mar 21 '16 14:03 braverock