[R-SIG-Finance] removing repeating values from xts series
Ulrich Staudinger
ustaudinger at gmail.com
Wed Sep 15 09:46:40 CEST 2010
I want to compare
y(t) with y(t-1)
where
t = 2... length(y)
y is an xts timeseries
On Wed, Sep 15, 2010 at 9:33 AM, Patrick Burns <patrick at burns-stat.com> wrote:
> So you want to compare
>
> y[-1,]
>
> with
>
> y[-nrow(y),]
>
> I think. And save the rows
> that aren't all equal. Yes?
>
--
Ulrich Staudinger
activequant.org
More information about the R-SIG-Finance
mailing list