Question: ( 1 2 marks ) The data sg _ subzones . rds contains an sf object of 3 1 0 subzones of Singapore, with the
marks The data sgsubzones rds contains an sf object of subzones of Singapore,
with the population values for these zones. The data is already outdated and contains
errors and missing values, which we will not do anything about.
a marks Find the EPSG value of this sf object. Convert it to another sf object and
name it sgsubzones with the EPSG value of
b marks Following a remove all those subzones with NA population values, and
name the sf object sgsubzones Add a new variable logtotal to sg subzones
which is computed from population Here is to avoid taking logarithm
of zeros. Use ggplot to plot all the remaining subzones and fill in the color using
the variable logtotal.
c marks Identify the top most populated regions.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
