[R] Change data frame to time series data

roslinazairimah zakaria ro@||n@ump @end|ng |rom gm@||@com
Wed Oct 2 17:49:06 CEST 2024


Hi Hasan,
Thank you so much for your help. But I got this error.

> dt_ts['2014-01-01 00:00:00'::'2014-12-15 23:59:00']Error in loadNamespace(x) :
  there is no package called ‘2014-01-01 00:00:00’


On Wed, Oct 2, 2024 at 11:36 PM Hasan Diwan <hasan.diwan using gmail.com> wrote:

> On Wed, 2 Oct 2024 at 08:20, roslinazairimah zakaria <roslinaump using gmail.com
> >
> wrote:
>
> > Let say, this is my data and I want to extract from 2014-01-01 00:00:00
> > to 2014-01-01 16:30:00
> >
> >
> dt_ts['2014-01-01 00:00:00'::'2014-01-01 16:30:00']
>
> Try that?
>
>
>
> --
> OpenPGP: https://hasan.d8u.us/openpgp.asc
> If you wish to request my time, please do so using
> *bit.ly/hd1AppointmentRequest
> <http://bit.ly/hd1AppointmentRequest>*.
> Si vous voudriez faire connnaisance, allez a *bit.ly/hd1AppointmentRequest
> <http://bit.ly/hd1AppointmentRequest>*.
>
> <https://sks-keyservers.net/pks/lookup?op=get&search=0xFEBAD7FFD041BBA1
> >Sent
> from my mobile device
> Envoye de mon portable
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> https://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>


-- 
*Roslinazairimah Zakaria*
*Tel: +609-5492370; Fax. No.+609-5492766*

*Email: roslinazairimah using ump.edu.my <roslinazairimah using ump.edu.my>;
roslinaump using gmail.com <roslinaump using gmail.com>*
Faculty of Industrial Sciences & Technology
University Malaysia Pahang
Lebuhraya Tun Razak, 26300 Gambang, Pahang, Malaysia

	[[alternative HTML version deleted]]



More information about the R-help mailing list