Skip to content
Merged
Show file tree
Hide file tree
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 R/mf_arrow.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#' two coordinates in map units (c(x, y))
#' @param col arrow color
#' @param cex arrow size
#' @param adj adjust the postion of the north arrow in x and y directions
#' @param adj adjust the position of the north arrow in x and y directions
#' @param align object of class `sf` or `sfc` used to adjust the
#' arrow to the real north
#' @importFrom sf st_crs st_as_sf st_coordinates st_transform
Expand Down
2 changes: 1 addition & 1 deletion R/mf_doc_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ my_params <- function(x) {
cex = "cex size of the legend; 2 means two times bigger",
cexs = "cex cex (point size) for symbols",
pch = "pch pch (point type) for symbols",
leg_adj = "leg_adj adjust the postion of the legend in x and y directions",
leg_adj = "leg_adj adjust the position of the legend in x and y directions",
leg_horiz = paste0(
"leg_horiz display the legend horizontally ",
"(for proportional symbols and choropleth types)"
Expand Down
2 changes: 1 addition & 1 deletion R/mf_export.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' @param x object of class \code{sf}, \code{sfc} or \code{SpatRaster}
#' @param expandBB fractional values to expand the bounding box with, in each
#' direction (bottom, left, top, right)
#' @param filename path to the exported file. If the file extention is ".png" a
#' @param filename path to the exported file. If the file extension is ".png" a
#' png graphic device is opened, if the file extension is ".svg" a svg graphic
#' device is opened.
#' @param width width of the figure (pixels for png, inches for svg)
Expand Down
2 changes: 1 addition & 1 deletion R/mf_get_breaks.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#' ## Natural breaks method
#' The "jenks", "fisher" and "ckmeans" methods are based on the same concept of
#' **natural breaks** and and produce similar groupings. The use of "ckmeans" is
#' recommanded.
#' recommended.
#'
#' * The "jenks" method produces class boundaries falling on data points and is
#' slow.
Expand Down
2 changes: 1 addition & 1 deletion R/mf_legend.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
#' @param cex_na size of the symbols for missing values
#' @param pch_na type of the symbols for missing values
#' @param horiz if TRUE plot an horizontal legend
#' @param adj adjust the postion of the legend in x and y directions
#' @param adj adjust the position of the legend in x and y directions
#' @param frame_border border color of the frame
#' @return No value is returned, a legend is displayed
#' (except if `return_bbox` is used).
Expand Down
2 changes: 1 addition & 1 deletion R/mf_logo.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#' legend position by clicking on the map.
#' @param cex amount by which the logo width should be magnified
#' or reduced relative to the default
#' @param adj adjust the postion of the logo in x and y directions
#' @param adj adjust the position of the logo in x and y directions
#'
#' @return No return value, a background image is displayed.
#' @export
Expand Down
4 changes: 2 additions & 2 deletions R/mf_map.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@
#' @param leg_frame_border border color of the legend frame
#' @param leg_horiz display the legend horizontally (for proportional symbols
#' and choropleth types)
#' @param leg_adj adjust the postion of the legend in x and y directions
#' @param leg_adj adjust the position of the legend in x and y directions
#' @param leg_bg color of the legend background
#' @param leg_fg color of the legend foreground
#' @param leg_size size of the legend. Combine this argument with
#' `leg_title_cex` and `leg_val_cex`.
#' @param leg_box_border border color of legend boxes (for types related to
#' choropleth and typologie)
#' choropleth and typology)
#' @param leg_box_cex width and height size expansion of boxes
#' @param ... ignored
#'
Expand Down
6 changes: 3 additions & 3 deletions R/mf_raster.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#' type = "classes" only).
#' @param pal a set of colors (hex codes) or a palette name. Palette names can
#' be obtained with [hcl.pals]. The default palette is the pal_quali palette for
#' type = "classes" and pal_seq otherwiser (see [mf_get_theme_value]).
#' type = "classes" and pal_seq otherwise (see [mf_get_theme_value]).
#' @param alpha pal` opacity, in the range \[0,1\] (0 means
#' transparent and 1 means opaque). Default is set to 1.
#' @param rev if `pal` is a palette name, whether the ordering of the colors
Expand All @@ -43,13 +43,13 @@
#' @param leg_frame_border border color of the legend frame
#' @param leg_horiz display the legend horizontally (for proportional symbols
#' and choropleth types)
#' @param leg_adj adjust the postion of the legend in x and y directions
#' @param leg_adj adjust the position of the legend in x and y directions
#' @param leg_bg color of the legend background
#' @param leg_fg color of the legend foreground
#' @param leg_size size of the legend. Combine this argument with
#' `leg_title_cex` and `leg_val_cex`.
#' @param leg_box_border border color of legend boxes (for types related to
#' choropleth and typologie)
#' choropleth and typology)
#' @param leg_box_cex width and height size expansion of boxes
#' @param ... bgalpha, smooth, maxcell or other arguments passed to be
#' passed to [terra::plotRGB] or [terra::plot]
Expand Down
2 changes: 1 addition & 1 deletion R/mf_scale.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#' Possible values are "m" and "ft" (see Details).
#' @param scale_units units used for the scale bar. Can be "mi" for miles,
#' "ft" for feet, "m" for meters, or "km" for kilometers (default).
#' @param adj adjust the postion of the scale bar in x and y directions
#' @param adj adjust the position of the scale bar in x and y directions
#' @param x object of class crs, sf or sfc. If set, the CRS of x will be used
#' instead of `crs_units` to define CRS units.
#' @details Most CRS use the meter as unit. Some US CRS use feet or US survey
Expand Down
2 changes: 1 addition & 1 deletion R/mf_theme.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#' @param background background color
#' @param highlight highlight color
#' @param pal_quali default qualitative color palette (name or function)
#' @param pal_seq default sequential color palettte (name or function)
#' @param pal_seq default sequential color palette (name or function)
#' @param ... deprecated arguments ('bg', 'fg', 'tab', 'pos', 'inner',
#' 'line', 'cex' and 'font'). See the Note section.
#' @param frame either "none", "map" or "figure"; plot a frame around the map
Expand Down
2 changes: 1 addition & 1 deletion man/mf_arrow.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mf_choro.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mf_export.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mf_get_breaks.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mf_grad.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mf_legend.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mf_logo.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/mf_map.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mf_prop.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mf_prop_choro.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mf_prop_typo.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/mf_raster.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mf_scale.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mf_symb.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mf_symb_choro.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mf_theme.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mf_typo.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading