@@ -39,16 +39,16 @@ fortify.map <- function(model, data, ...) {
39
39
40
40
# ' Create a data frame of map data
41
41
# '
42
- # ' Easily turn data from the \pkg{maps} package in to a data frame suitable
42
+ # ' Easily turn data from the \pkg{maps} package into a data frame suitable
43
43
# ' for plotting with ggplot2.
44
44
# '
45
- # ' @param map name of map provided by the \pkg{maps} package. These
45
+ # ' @param map name of map provided by the \pkg{maps} package. These
46
46
# ' include [maps::county()], [maps::france()],
47
47
# ' [maps::italy()], [maps::nz()],
48
48
# ' [maps::state()], [maps::usa()],
49
49
# ' [maps::world()], [maps::world2()].
50
- # ' @param region name of subregions to include. Defaults to `.` which
51
- # ' includes all subregion. See documentation for [maps::map()]
50
+ # ' @param region name(s) of subregion(s) to include. Defaults to `.` which
51
+ # ' includes all subregions. See documentation for [maps::map()]
52
52
# ' for more details.
53
53
# ' @param exact should the `region` be treated as a regular expression
54
54
# ' (`FALSE`) or as a fixed string (`TRUE`).
@@ -82,8 +82,8 @@ map_data <- function(map, region = ".", exact = FALSE, ...) {
82
82
83
83
# ' Create a layer of map borders
84
84
# '
85
- # ' This is a quick and dirty way to get map data (from the maps package)
86
- # ' on to your plot. This is a good place to start if you need some crude
85
+ # ' This is a quick and dirty way to get map data (from the \pkg{ maps} package)
86
+ # ' onto your plot. This is a good place to start if you need some crude
87
87
# ' reference lines, but you'll typically want something more sophisticated
88
88
# ' for communication graphics.
89
89
# '
0 commit comments