这是indexloc提供的服务,不要输入任何密码
Skip to content

replaced sp designation with sf #259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion demo/BubbleMap/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tm_shape(metro) +
tm_format_World() +
tm_style_gray()
```
First, two shapes that are included in the *tmap* package are loaded. The shape `World` is a `SpatialPolygonsDataFrame` of the countries of the world. The shape `metro` is a `SpatialPointsDataFrame` containing a population time series for metropolitan areas. In the second line of code, the annual growth rate percentage is calculated.
First, two shapes that are included in the *tmap* package are loaded. The shape `World` is a simple features object of the countries of the world. The shape `metro` is a simple features object containing a population time series for metropolitan areas. In the second line of code, the annual growth rate percentage is calculated.

The first group of the plot call defines the choropleth and adds the country codes using the `World` shape. A bubble map is drawn on top of that using the `metro` shape.

Expand Down