... and also, the with() is unnecessary:
flag <- by(DF3, fac, function(x)foo(x$text,x$day))
## will do.
Bert
On Wed, Apr 27, 2022 at 11:06 AM Bert Gunter wrote:
> OK. I may completely misunderstand. If you are happy with what Rui and/or
> others have given you, **read no further**, as it will j
Message-
From: Val
To: r-help@R-project.org (r-help@r-project.org)
Sent: Tue, Apr 26, 2022 6:17 pm
Subject: [R] flag records
Hi All,
I want to flag a record based on the following condition.
The variables in the sample data are
State, name, day, text, ddate
Sort the data by State, name
2 matches
Mail list logo