[R] How to install this package
David Winsemius
dw|n@em|u@ @end|ng |rom comc@@t@net
Fri Oct 4 06:17:06 CEST 2024
I’m
Sent from my iPhone
> On Oct 2, 2024, at 7:43 AM, roslinazairimah zakaria <roslinaump using gmail.com> wrote:
>
> Hi Enrico, yes it works. I can also plot the graph.
> Next question, how do I delete the date from 16 December until 31 December
> 2014?
>
>
> Thank you very much.
>
>> dt$time <- as.POSIXct(dt$time)> > dt_ts <- xts(dt$count, dt$time)> str(dt_ts)An xts object on 2014-01-01 / 2014-12-31 23:59:00 containing:
> Data: integer [525600, 1]
> Index: POSIXct,POSIXt [525600] (TZ: "")
>
>
> plot(dt_ts)
I believe that xts objects store that sort of information in their attributes. Look at the results of
attr(dt_ts)
In the future you should not ask unrelated questions without changing the subject line to reflect the new topic area. And you should stop posting in HTML.
—
David
> --
> *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]]
>
> ______________________________________________
> 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.
More information about the R-help
mailing list