Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
statemerge = merge(statecrime, stateexpense, by=c('Year','State'))
statemerge = mutate(statemerge, Educ_per_person = Total_Educ_Total_Exp/Population.x,
Police_per_person = Police_Prot_Total_Exp/Population.x,
Violent_rate =,
Property_rate =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.