Re: [R] Converting Date Time values

2021-04-26 Thread Duncan Murdoch
On 26/04/2021 3:08 p.m., Jeff Reichman wrote: Whoops happy fingers yes I meant “or” POSIXct are easier to work with as data (e.g. a column in a dataframe). POSIXlt is easier to work with as dates & times, and has a bigger range. See details of the comparison in the ?POSIXt help page. Dunc

Re: [R] [EXT] Converting Date Time values

2021-04-26 Thread David K Stevens
I use both routinely, depending on the need. 'ct' is great for representing date/time holistically (2021-04-26 13:21:27) and is numeric under the hood in seconds since the big bang (just kidding), kind of like julian seconds. 'lt' is a list of 7 elements that often require manipulation (e.g. lt

Re: [R] Converting Date Time values

2021-04-26 Thread Jeff Reichman
Whoops happy fingers yes I meant “or” From: Bert Gunter Sent: Monday, April 26, 2021 1:37 PM To: reichm...@sbcglobal.net Cc: R-help Subject: Re: [R] Converting Date Time values Did you mean to use "or" instead of "and" in your query? If so, no comment. If "and," then yes, as that all

Re: [R] Converting Date Time values

2021-04-26 Thread Bert Gunter
Did you mean to use "or" instead of "and" in your query? If so, no comment. If "and," then yes, as that allows a great deal of functionality (ordering, comparisons, time-date arithmetic, etc.) that would otherwise be painful or require special packages. IMO only, of course. Bert Gunter "The tro

[R] Converting Date Time values

2021-04-26 Thread Jeff Reichman
r-help Generally speaking is it better to convert date/time values to "POSIXlt" and "POSIXct" objects? Jeff Reichman [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://st

Re: [R] Query

2021-04-26 Thread Rui Barradas
Hello, What you are trying to do is not possible without editing the plot method for objects of class "varirf". See its code with getAnywhere("plot.varirf") Argument axes = FALSE is set in the code followed by explicit calls to axis(1, etc) and axis(2, etc). Contact the maintainer("vars

Re: [R] Query

2021-04-26 Thread Jim Lemon
Hi SunYong, The docs are not exactly clear on this, but you might try adding axes=FALSE instead of xaxt="n" and then calling both axes separately. Jim On Mon, Apr 26, 2021 at 5:28 PM Sun Yong Kim wrote: > > vars package > > From: John Kane > Sent: Sunday, April

Re: [R] Query

2021-04-26 Thread Sun Yong Kim
vars package From: John Kane Sent: Sunday, April 25, 2021 12:30 PM To: Sun Yong Kim Cc: r-help@r-project.org Subject: Re: [R] Query What package has the irf function? On Fri, 23 Apr 2021 at 09:34, Sun Yong Kim wrote: > > Hi > > I have been trying to circulate