Hi,
As my post title states, I have data with varied hyphenated intervals such as '3-6', '1-5', '10-12', and so on, and I want to convert these into their consituent integers delimited by commas. So '3,4,5,6', '1,2,3,4,5', and '10,11,12', respectively. Does anyone have any ideas as to how this could be done?
Thank you
Related Posts with Ideas on how to convert a hyphenated interval (e.g. '5-8') into its constituent integers delimited by commas (e.g. '5,6,7,8')?
Suppressing Overall marker in Metanalysis forest plotsHi David. I am new to stata and woud like to plot forest plots for of hazard ratios, but would like …
On the regular expression of StataI found regular expression of Stata very confusing. For instance: Code: disp regexm("010-11223344",…
Summing up individual-specific amount of variablesHi, I am trying to generate a household-specific monetary policy shock variable. Generally I have tw…
panel data with three equationsHi all, I am trying to solve the following equation system. The data is panel and I will include fi…
TestTesting …
Subscribe to:
Post Comments (Atom)
0 Response to Ideas on how to convert a hyphenated interval (e.g. '5-8') into its constituent integers delimited by commas (e.g. '5,6,7,8')?
Post a Comment