Displaying 5 results from an estimated 5 matches for "slurri".
2017 Jul 01
0
How to replace match words whith colum name of data frame?
...+ ifelse(apply(
+ sapply(chemical_df$chemical,
+ function(x) grepl(x, concept_df$concept)),
+ 1, any),
+ "chemical", ""))
concept category
1 butan acid chemical
2 nano diamond particl
3 slurri composit
4 composit ph polis chemical
5 inorgan particl
6 grind liquid
7 liquid formul
8 nanoparticl
9 size abras particl
10 agent malic acid chemical
Or, if you're wedded to magrittr:
> sappl...
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", "agent malic acid"))
chemical_df <- data.frame(chemical=c("basic", "alkalin"...
2008 Oct 18
3
Cucumber "standard base" setup?
I''m trying to set up cucumber so we can try it in some Ruby automation
scripts I''m working on. These will be straight Ruby, for use in BBEdit
and TextMate (on the Mac).
NOT Rails.
The big early-stage stumbling block I''m having is setting up the
initial Rakefile and directory structure. I think I''m rtfm''ing, but
clearly I''m missing
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
2017 Jul 30
0
How to replace match words whith colum name of data frame?
...cal_match <- str_c(chemical, collapse = "|")
chemical_match
concept_df$match[str_detect(concept_df$concept, chemical_match)] <-
"chemical"
concept_df
> concept_df
concept match
1 butan acid chemical
2 nano diamond particl FALSE
3 slurri\ncomposit FALSE
4 composit ph polis chemical
5 inorgan particl FALSE
6 grind liquid FALSE
7 liquid formul FALSE
8 nanoparticl FALSE
9 size abras particl FALSE
10 agent malic acid chemical
--
*Abraham MathewData Ninja and Statistical...