down vote favorite
Hello
I have a zoo series. It lasts 10 years and its frequency is 15min.
I'd like to get a new zoo series (or vector) with the same number of
elements, whith each element equal to the first element of the day. That's,
The first element everyday is repeated
On Wed, Aug 25, 2010 at 7:43 AM, skan juanp...@gmail.com wrote:
I have a zoo series. It lasts 10 years and its frequency is 15min.
I'd like to get a new zoo series (or vector) with the same number of
elements, whith each element equal to the first element of the day. That's,
The first element
On Wed, Aug 25, 2010 at 7:56 AM, Gabor Grothendieck
ggrothendi...@gmail.com wrote:
On Wed, Aug 25, 2010 at 7:43 AM, skan juanp...@gmail.com wrote:
I have a zoo series. It lasts 10 years and its frequency is 15min.
I'd like to get a new zoo series (or vector) with the same number of
elements,
On Wed, Aug 25, 2010 at 7:43 AM, skan juanp...@gmail.com wrote:
down vote favorite
Hello
I have a zoo series. It lasts 10 years and its frequency is 15min.
I'd like to get a new zoo series (or vector) with the same number of
elements, whith each element equal to the first element of
thanks
I'll try them,
Why do you use the brackets in zz[] ?
--
View this message in context:
http://r.789695.n4.nabble.com/Repeat-the-first-day-data-through-all-the-day-Zoo-tp2338069p2338266.html
Sent from the R help mailing list archive at Nabble.com.
On Wed, Aug 25, 2010 at 9:48 AM, skan juanp...@gmail.com wrote:
thanks
I'll try them,
Why do you use the brackets in zz[] ?
So it stays a zoo object with the same index. We are only replacing
the data part.
__
R-help@r-project.org mailing list
# duplicated / na.locf doesn't work
it says Error in fix.by(by.x, x) : 'by' must specify valid column(s)
if I use ifelse instead of ifelse.zoo it works but it gives me a non zoo
vector.
Myabe is because my zoo version is older.
cheers
--
View this message in context:
On Wed, Aug 25, 2010 at 11:18 AM, skan juanp...@gmail.com wrote:
# duplicated / na.locf doesn't work
it says Error in fix.by(by.x, x) : 'by' must specify valid column(s)
if I use ifelse instead of ifelse.zoo it works but it gives me a non zoo
vector.
Myabe is because my zoo version is
8 matches
Mail list logo