Chapter 10 Age and Sex of the Victims
We examine the age and sex of the Victims involved in Crime.
breaks = seq(0,100,5)
ListSex = c("M","F")
LACrime %>%
filter( VictimSex %in% ListSex ) %>%
ggplot(aes(VictimAge)) +
geom_histogram(binwidth = 5,fill = c("red")) +
facet_wrap(~ VictimSex) +
scale_x_continuous(limits = c(0, 100),breaks=breaks ) +
labs(x = 'Victim Age', y = 'Count of Crimes',
title = 'Age , Sex and Crimes') +
theme_bw()
Most Victims are around the age 25 to 30.It is evident that Females are Victimised more than Males in the age group 25 to 30.