r - Sum cells by group in data frame -


i have huge data frame looks this:

dados

and want sum cells in column v9 according v3; example, want sum every v9 cell when v3=="acrelândia".

aggregate(v9~v3,df,sum);​​​​​​ 

Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -