Skip to content
Back to formatted view

Raw Message

Message-ID: <CACxE24kujUVv0fTmbdYP1QNSrHozMuWYXDekSmZbKOdztM9=+g@mail.gmail.com>
Date: 2014-08-12T18:51:16Z
From: Erin Hodgess
Subject: generating a sequence of seconds

Hello!

If I would like to generate a sequence of seconds for a date, I would do
the following:

x <- seq(from=as.POSIXct(2014-08-12 00:00:00),to=as.POSIXct(2014-08-12
23:59:59),by="secs")

What if I just want the seconds vector without the date, please?  Is there
a convenient way to create such a vector, please?

thanks,
Erin


-- 
Erin Hodgess
Associate Professor
Department of Mathematical and Statistics
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com

	[[alternative HTML version deleted]]