Skip to content
Prev 13589 / 15274 Next

Subsetting Second to Last Day of the Month

No. The output of the actual endpoints function is a set of numbered
indices specifying that particular day. E.g. if you look at JUST the output
of endpoints, before plugging it into your dataset, you'd see something
like 0, 10, 31, etc.

To get the second to last day, you just subtract 1 from that output and set
negatives to zero.
On Oct 28, 2015 12:40 PM, "Am Gut" <agquantr at gmail.com> wrote:

            
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-finance/attachments/20151028/18305d30/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 7735 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-finance/attachments/20151028/18305d30/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 5672 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-finance/attachments/20151028/18305d30/attachment-0001.png>