Displaying 5 results from an estimated 5 matches for "slurry".
Did you mean:
flurry
2017 Jul 01
0
How to replace match words whith colum name of data frame?
Dear ?,
I'm sure that there are many ways to do what you want; here's one:
> cbind(concept_df, category=
+ ifelse(apply(
+ sapply(chemical_df$chemical,
+ function(x) grepl(x, concept_df$concept)),
+ 1, any),
+ "chemical", ""))
concept category
1 butan
2017 Jul 01
0
How to replace match words whith colum name of data frame?
I have two data frame. I want to use "chemical_df" to match "concept_df "
concept_df <- data.frame(concept=c("butan acid ", "nano diamond particl", "slurri
composit", "composit ph polis", " inorgan particl ", "grind liquid", "liquid formul", "nanoparticl", "size abras particl",
2008 Oct 18
3
Cucumber "standard base" setup?
...s see a noobs''
walkthrough like:
(1) create an empty project directory
(2) build standard directory tree
(3) clone in standard Rakefile
(4) get started speccing.
(2) and (3) are my problem.
Thanks much!
-----
Bill Tozier
AIM:vaguery at mac.com ? Twitter:Vaguery
http://williamtozier.com/slurry
"The brotherhood of man is not a mere poet''s dream; it is a most
depressing and humiliating reality."
-- Oscar Wilde
2005 Feb 07
1
Streaming MP3 issues with Windows Media Player
Hello all,
I've set up a live mp3 stream for our non-commercial radio station,
and just recently I've received a slurry of complaints from folks
using Windows Media Player.
Most of the complaints vary, but seem to be consistent regarding long
buffer time, odd drop outs, long reconnect times, etc.
Normally, I refer folks to one of the infinitely better players out
there, but now the issue seems to be "but I...
2017 Jul 30
0
How to replace match words whith colum name of data frame?
Try the stringr package.
This should work
chemical=c("basic", "alkalin", "alkali", "acid", " ph ", "hss")
chemical_match <- str_c(chemical, collapse = "|")
chemical_match
concept_df$match[str_detect(concept_df$concept, chemical_match)] <-
"chemical"
concept_df
> concept_df
concept match