search for: nanoparticl

Displaying 3 results from an estimated 3 matches for "nanoparticl".

2017 Jul 01
0
How to replace match words whith colum name of data frame?
...", "")) 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: > sapply(chemical_df$chemical, + function(x) grepl(x, concept_df$concept)) %>% + apply(1, any) %>% + ifelse("chemical", "") %>% + cbind(conce...
2017 Jul 01
0
How to replace match words whith colum name of data frame?
...hemical_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", "alkali", "acid", " ph ", "hss")) Here is my match code: library(magrittr) match_df <- NULL for (i in...
2017 Jul 30
0
How to replace match words whith colum name of data frame?
...ept_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 Modeler* *Minneapolis, MN720-648-0108 at abmathewksAnalytics_Blog <https://mathewanalytics.wordpress.com/>* [[alternative HTML version deleted]]