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

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -