Skip to content
Prev 361807 / 398506 Next

filter a data.frame in dependence of a column value

Dear Mat,

You can use grepl() to select based on are regular expression.

subset(data3, grepl("\\(.*\\)", ORDER))

Best regards,

ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium

To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to say
what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey

2016-06-17 9:49 GMT+02:00 Matthias Weber <Matthias.Weber at fntsoftware.com>:

  
  
Message-ID: <CAJuCY5ztFVV6ji1ODNDZ4Tt_FEQsYYUJDyUKGvbz8fwsq8_grw@mail.gmail.com>
In-Reply-To: <HE1PR07MB1212A945302ECCD0C285349090570@HE1PR07MB1212.eurprd07.prod.outlook.com>