Hi all.
How to find variable1 that contain words like "apple" or "pear" or "orange" with keywords typea, typeb,typec... And replace it with the text "selected fruit"?
Here is an example:
variable1
typea apple
typeb pear
typeii bee
nonpear
typec orange
find those containing words like "apple" or "pear" or "orange" with keywords typea, typeb,typec... And replace it with the text "selected fruit", and the expected results would be:
variable1
selected fruit
selected fruit
typeii bee
nonpear
selected fruit
Thanks,
David
Related Posts with How to find variable1 that contain words like "apple" or "pear" with keywords typea... and replace them with the text "selected fruit"?
Variables selection methods , minimum number of variables - max informationGood morning to everyone, I am trying to run a SEM with more levels: the fact is that it is very hea…
Is it prudent to use both logistic regression and parametric survival models on same dataset?I am doing a study which has two objectives: effects of variables on timing to vaccination factors …
stratifying parametric lognormal regression modelI wanted to find out how I can stratify a parametric regression model by a variable. So assuming I f…
How to increase the category size in STATAPlease tell me how to increase the category size in the STATA output table. here I am attaching the …
Dataset for Health EconometricsHello, I am reading a Book on "Applied Econometrics for Health" and they recommended a dataset calle…
Subscribe to:
Post Comments (Atom)
0 Response to How to find variable1 that contain words like "apple" or "pear" with keywords typea... and replace them with the text "selected fruit"?
Post a Comment