Open ekmcintyre opened 4 years ago
Are you using a PC or a Mac?
Hi, @lecy
I'm having some challenges as well. I'm on a PC. Where do I place locator() in the code chunk and how do I use it?
PC
You can NOT place locator() into an RMD file because it is an interactive function.
You can use it to quickly determine the coordinates for the bounding box, though.
Otherwise you can use:
axis( side=1 )
axis( side=2 )
par( "usr" )
And based upon values make some judicious guesses.
Got it, thanks for the help. I was trying it in RMD.
How do I use the locator() function to redefine the bounding box and zoom in on the subject on my plot? There are instructions to do this during Lab 04 under Step 4: Transform the Shapefile into A Dorling Cartogram.