Hello, my budget is 10 dollars for some R help.
In the table Z below i loaded some data with the number Imigrants per Year and month in each region:
Z=[login to view URL]("[login to view URL]~fouskakis/[login to view URL]",col.names=c("Asylum_seekers","Origin","Month","Year"), [login to view URL] = "*", )
na.rm=T
Βuild the frequency and relative frequency table for year data using 2 classes, where the first class includes years below 2014 ("Years <2014"), ie years before the start of the refugee crisis , And the second heading includes years greater than or equal to 2014 ("Years> = 2014"). Provide corresponding names in the categories of this new category variable (name this new category variable Time_period). Then select the subset of them
Data that includes only records for July and save it with a new name. Based on this subset of data, properly describe the Asylum_seekers variable separately for each class of the Time_period variable you created (include graphical and numeric methods).
Then build the frequency and relative frequency table for data concerning the number of Asylum Seekers using 2 classes, where the first class includes numbers smaller than or equal to 50 ("Low") and the second class includes larger numbers Of 50 ("High"). Provide corresponding names in the categories of this new category variable (name this new category variable Refugee_flow). Construct a matrix of relationship between the Year variable and the Refugee_flow variable. Give the relative frequencies of cells, rows and columns and comment on the results.
Thank you in advance