* Example generated by -dataex-. For more info, type help dataex
clear
input str1 var1 float group
"a" 1
"b" 1
"c" 1
"d" 1
"e" 1
"a" 2
"b" 2
"c" 2
"e" 2
"a" 3
"b" 3
"c" 3
"d" 3
"e" 3
"a" 4
"c" 4
"d" 4
"e" 4
end
[/CODE]
------------------ copy up to and including the previous line ------------------
How to Insert a blank line after each group according to the group?
insob 1, after(_N) // An empty line can be inserted at the end, but it cannot be grouped
the data that i wanted are as follows:
"a" 1
"b" 1
"c" 1
"d" 1
"e" 1
"a" 2
"b" 2
"c" 2
"e" 2
"a" 3
"b" 3
"c" 3
"d" 3
"e" 3
"a" 4
"c" 4
"d" 4
"e" 4
Related Posts with How to insert a blank line by group
R 503 Conformability Issue | Help Please!!!Hi, I am trying to estimate marginal effects after running a logistic model. The logistic model is f…
how to calculate dependency ratio in STATAPlease let me know how to calculate dependency ration in STATA.. is the command below correct bys S…
Loop - Forvalues - works in different orderHi Forum, I have tried this loop (see below) ten thousand times and something really strange happen…
Error in Asdoc tables by two groupsI want to make a summary table by two groups. Code: asdoc sum ln_assets ln_sales r_change p_change…
how to calculate age count..I am trying to calculate age count.. please let me know if the below command is correct.. bys Sched…
Subscribe to:
Post Comments (Atom)
0 Response to How to insert a blank line by group
Post a Comment