ooking for an exact full match so it would be
> >>> something like "theta" to be matched in full, or would you want to
> match
> >>> "the" and both "theta" and "lathe" would match? Or are you matching a
> >>> pattern that is
atterns, there is a family of functions using "grep" and so on.
Good luck.
-Original Message-
From: R-help On Behalf Of Tuhin
Chakraborty
Sent: Saturday, May 15, 2021 1:08 PM
To: r-help@r-project.org
Subject: [R] Finding strings in a dataset
Hi,
How can I find the location of
of functions using "grep" and so on.
Good luck.
-Original Message-
From: R-help On Behalf Of Tuhin Chakraborty
Sent: Saturday, May 15, 2021 1:08 PM
To: r-help@r-project.org
Subject: [R] Finding strings in a dataset
Hi,
How can I find the location of string data in my 2D dataset? spe
tions of string functions including in packages like
>> stringr/stringi that deal well with many things you might need. For
>> matching
>> patterns, there is a family of functions using "grep" and so on.
>>
>> Good luck.
>>
>> -Original Message-
ep" and so on.
>
> Good luck.
>
> -Original Message-
> From: R-help On Behalf Of Tuhin Chakraborty
> Sent: Saturday, May 15, 2021 1:08 PM
> To: r-help@r-project.org
> Subject: [R] Finding strings in a dataset
>
> Hi,
> How can I find th
hat deal well with many things you might need. For matching
patterns, there is a family of functions using "grep" and so on.
Good luck.
-Original Message-
From: R-help On Behalf Of Tuhin Chakraborty
Sent: Saturday, May 15, 2021 1:08 PM
To: r-help@r-project.org
Subject: [R] Fi
Hello,
You should post a working example, we have no idea what your 2d data set
is. A matrix? A data.frame? Something else?
And the string you are looking for? Are you thinking of regular
expressions (grep) or is it a simple equality '=='?
Here is a reproducible example of the use of ?which
Hi,
How can I find the location of string data in my 2D dataset? spec(Dataset)
will reveal the columns that contain the strings. But can I know where
exactly the string values are in the column?
[[alternative HTML version deleted]]
__
R-help@r-p
8 matches
Mail list logo