I got a really dumb question to ask, I have trouble with plot() on a map from the spData package and I can't figure it out why. I would appreciate any help or direction.
so I first simplify the original us_states2163 data
so for the us_states_simp2 I can successfully show the centroids on the map, however when I try to use this same st_centroid function on a different dataset it won't show the centroids on the map properly
In practice the result is not equivalent - the base plot "steals" the centroids.
I suspect it has something to do with the projection (st_crs(nz)) and unless you are absolutely positively required to use base plot I would choose either {ggplot2} or {tmap} for your final vizualization.
Most people do, which is why many edge cases in the base plot scenario are left unresolved.