Skip to content
Prev 385323 / 398502 Next

R Script Modification Questions

1. Generally you should make your posts self-contained -- I see no line
14's or 33's or whatever. Note that you did not continue the old thread
either. I have no desire to go poking around in previous threads (others
certainly may!).

2. Re: max of dates.

 max(as.Date(c("1976-04-07","1982-02-22")))
[1] "1982-02-22"

You seem to be asking basic questions that indicate a need to spend some
time with R tutorials, in this case S3 methods and dates. See ?"date-time"
for a terse but dense explanation; numerous web tutorials are available
that are more suitable for most of us learning new R or R package features.

Cheers,
Bert

Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Tue, Aug 18, 2020 at 10:10 AM Stephen P. Molnar <s.molnar at sbcglobal.net>
wrote: