You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding the 1st, I assigned it to a character because in an old version of the world dataset it was a factor. But you correctly point out that this is no longer the case:
I've removed the as.character() line, fixing the first part of the issue (see commit below for details of the fix).
world_random was used in the chapter, but not explicitly (it creates the top right panel of the figure). I've now rewritten the section so that the purpose of doing the spatial subsetting is made clear. It also now shows the link between spatial subsetting and spatial joining.
In 4.2.3 Spatial joining, two lines of code seem redundant:
world$name_long = as.character(world$name_long)
"name_long" is already a character vector in the original "world" data.
world_random = world[random_points, ]
"world_random" doesn't seem to be used in the chapter.
The text was updated successfully, but these errors were encountered: