Opened 4 years ago
Last modified 19 months ago
#2292 new task
Suggestions for R quickstart
Reported by: | micha | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Documentation | Keywords: | |
Cc: |
Description
A suggestion, and correction in the R quickstart:
It would be preferable to remove the prompt character '>' from the code examples, to allow simple copy/paste from the quickstart to user's console.
The final example has an error, misplaced parenthesis. Here is the correct statment:
ggplot() + geom_sf(data = ukos) + geom_sf(data = ukpop, aes(size = ukpop$POP_MAX/100000), color = "red", alpha=1/5) + coord_sf(crs=27700, datum=sf::st_crs(27700), xlim=st_bbox(ukos)[c(1,3)], # These two lines are corrected ylim=st_bbox(ukos)[c(2,4)])
Change History (3)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Please implement only the second suggestion:
The final example has an error, misplaced parenthesis. Here is the correct statement:
ggplot() + geom_sf(data = ukos) + geom_sf(data = ukpop, aes(size = ukpop$POP_MAX/100000), color = "red", alpha=1/5) + coord_sf(crs=27700, datum=sf::st_crs(27700), xlim=st_bbox(ukos)[c(1,3)], # These two lines are corrected ylim=st_bbox(ukos)[c(2,4)])
comment:3 by , 19 months ago
Component: | OSGeoLive → Documentation |
---|
Note:
See TracTickets
for help on using tickets.
PR submitted