diff --git a/R/mf_arrow.R b/R/mf_arrow.R index 2e83202..68fefe0 100644 --- a/R/mf_arrow.R +++ b/R/mf_arrow.R @@ -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 diff --git a/R/mf_doc_utils.R b/R/mf_doc_utils.R index b1bf4f4..3fc1263 100644 --- a/R/mf_doc_utils.R +++ b/R/mf_doc_utils.R @@ -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)" diff --git a/R/mf_export.R b/R/mf_export.R index f1276b4..1913d92 100644 --- a/R/mf_export.R +++ b/R/mf_export.R @@ -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) diff --git a/R/mf_get_breaks.R b/R/mf_get_breaks.R index fba0700..591cc07 100644 --- a/R/mf_get_breaks.R +++ b/R/mf_get_breaks.R @@ -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. diff --git a/R/mf_legend.R b/R/mf_legend.R index d927d26..925cf7f 100644 --- a/R/mf_legend.R +++ b/R/mf_legend.R @@ -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). diff --git a/R/mf_logo.R b/R/mf_logo.R index 266c693..dd057c0 100644 --- a/R/mf_logo.R +++ b/R/mf_logo.R @@ -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 diff --git a/R/mf_map.R b/R/mf_map.R index da046a2..f31bad7 100644 --- a/R/mf_map.R +++ b/R/mf_map.R @@ -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 #' diff --git a/R/mf_raster.R b/R/mf_raster.R index 3099b22..89461d8 100644 --- a/R/mf_raster.R +++ b/R/mf_raster.R @@ -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 @@ -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] diff --git a/R/mf_scale.R b/R/mf_scale.R index 3fc1e12..111dd6a 100644 --- a/R/mf_scale.R +++ b/R/mf_scale.R @@ -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 diff --git a/R/mf_theme.R b/R/mf_theme.R index 851a9af..c3f0fac 100644 --- a/R/mf_theme.R +++ b/R/mf_theme.R @@ -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 diff --git a/man/mf_arrow.Rd b/man/mf_arrow.Rd index b2bc39b..ee350b4 100644 --- a/man/mf_arrow.Rd +++ b/man/mf_arrow.Rd @@ -15,7 +15,7 @@ two coordinates in map units (c(x, y))} \item{cex}{arrow size} -\item{adj}{adjust the postion of the north arrow in x and y directions} +\item{adj}{adjust the position of the north arrow in x and y directions} \item{align}{object of class \code{sf} or \code{sfc} used to adjust the arrow to the real north} diff --git a/man/mf_choro.Rd b/man/mf_choro.Rd index be6b500..1260f8b 100644 --- a/man/mf_choro.Rd +++ b/man/mf_choro.Rd @@ -85,7 +85,7 @@ mf_choro( \item{leg_horiz}{display the legend horizontally (for proportional symbols and choropleth types)} -\item{leg_adj}{adjust the postion of the legend in x and y directions} +\item{leg_adj}{adjust the position of the legend in x and y directions} \item{leg_size}{size of the legend; 2 means two times bigger} diff --git a/man/mf_export.Rd b/man/mf_export.Rd index 4305d09..92cff42 100644 --- a/man/mf_export.Rd +++ b/man/mf_export.Rd @@ -17,7 +17,7 @@ mf_export( \arguments{ \item{x}{object of class \code{sf}, \code{sfc} or \code{SpatRaster}} -\item{filename}{path to the exported file. If the file extention is ".png" a +\item{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.} diff --git a/man/mf_get_breaks.Rd b/man/mf_get_breaks.Rd index ee383ae..ef6d1a0 100644 --- a/man/mf_get_breaks.Rd +++ b/man/mf_get_breaks.Rd @@ -46,7 +46,7 @@ methods. You may need to pass additional arguments for some of them. The "jenks", "fisher" and "ckmeans" methods are based on the same concept of \strong{natural breaks} and and produce similar groupings. The use of "ckmeans" is -recommanded. +recommended. \itemize{ \item The "jenks" method produces class boundaries falling on data points and is slow. diff --git a/man/mf_grad.Rd b/man/mf_grad.Rd index 1171113..0435ff2 100644 --- a/man/mf_grad.Rd +++ b/man/mf_grad.Rd @@ -72,7 +72,7 @@ mf_grad( \item{leg_frame}{whether to add a frame to the legend (TRUE) or not (FALSE)} -\item{leg_adj}{adjust the postion of the legend in x and y directions} +\item{leg_adj}{adjust the position of the legend in x and y directions} \item{leg_size}{size of the legend; 2 means two times bigger} diff --git a/man/mf_legend.Rd b/man/mf_legend.Rd index 66f4cb1..ceb7b85 100644 --- a/man/mf_legend.Rd +++ b/man/mf_legend.Rd @@ -127,7 +127,7 @@ the legend} \item{return_bbox}{return only bounding box of the legend. No legend is plotted.} -\item{adj}{adjust the postion of the legend in x and y directions} +\item{adj}{adjust the position of the legend in x and y directions} } \value{ No value is returned, a legend is displayed diff --git a/man/mf_logo.Rd b/man/mf_logo.Rd index b36d64c..ddb7789 100644 --- a/man/mf_logo.Rd +++ b/man/mf_logo.Rd @@ -17,7 +17,7 @@ legend position by clicking on the map.} \item{cex}{amount by which the logo width should be magnified or reduced relative to the default} -\item{adj}{adjust the postion of the logo in x and y directions} +\item{adj}{adjust the position of the logo in x and y directions} } \value{ No return value, a background image is displayed. diff --git a/man/mf_map.Rd b/man/mf_map.Rd index d500656..83435d9 100644 --- a/man/mf_map.Rd +++ b/man/mf_map.Rd @@ -114,7 +114,7 @@ legend} \item{leg_horiz}{display the legend horizontally (for proportional symbols and choropleth types)} -\item{leg_adj}{adjust the postion of the legend in x and y directions} +\item{leg_adj}{adjust the position of the legend in x and y directions} \item{leg_bg}{color of the legend background} @@ -124,7 +124,7 @@ and choropleth types)} \code{leg_title_cex} and \code{leg_val_cex}.} \item{leg_box_border}{border color of legend boxes (for types related to -choropleth and typologie)} +choropleth and typology)} \item{leg_box_cex}{width and height size expansion of boxes} diff --git a/man/mf_prop.Rd b/man/mf_prop.Rd index 5001e8d..89f3e59 100644 --- a/man/mf_prop.Rd +++ b/man/mf_prop.Rd @@ -76,7 +76,7 @@ mf_prop( \item{leg_horiz}{display the legend horizontally (for proportional symbols and choropleth types)} -\item{leg_adj}{adjust the postion of the legend in x and y directions} +\item{leg_adj}{adjust the position of the legend in x and y directions} \item{leg_fg}{color of the legend foreground} diff --git a/man/mf_prop_choro.Rd b/man/mf_prop_choro.Rd index bca461b..f3ea2e4 100644 --- a/man/mf_prop_choro.Rd +++ b/man/mf_prop_choro.Rd @@ -90,7 +90,7 @@ mf_prop_choro( \item{leg_horiz}{display the legend horizontally (for proportional symbols and choropleth types)} -\item{leg_adj}{adjust the postion of the legend in x and y directions} +\item{leg_adj}{adjust the position of the legend in x and y directions} \item{leg_fg}{color of the legend foreground} diff --git a/man/mf_prop_typo.Rd b/man/mf_prop_typo.Rd index e0d029d..56d6cd8 100644 --- a/man/mf_prop_typo.Rd +++ b/man/mf_prop_typo.Rd @@ -88,7 +88,7 @@ mf_prop_typo( \item{leg_horiz}{display the legend horizontally (for proportional symbols and choropleth types)} -\item{leg_adj}{adjust the postion of the legend in x and y directions} +\item{leg_adj}{adjust the position of the legend in x and y directions} \item{add}{whether to add the layer to an existing plot (TRUE) or not (FALSE)} } diff --git a/man/mf_raster.Rd b/man/mf_raster.Rd index 0274bf7..0a1b511 100644 --- a/man/mf_raster.Rd +++ b/man/mf_raster.Rd @@ -55,7 +55,7 @@ type = "classes" only).} \item{pal}{a set of colors (hex codes) or a palette name. Palette names can be obtained with \link{hcl.pals}. The default palette is the pal_quali palette for -type = "classes" and pal_seq otherwiser (see \link{mf_get_theme_value}).} +type = "classes" and pal_seq otherwise (see \link{mf_get_theme_value}).} \item{alpha}{pal` opacity, in the range [0,1] (0 means transparent and 1 means opaque). Default is set to 1.} @@ -94,10 +94,10 @@ legend} \item{leg_horiz}{display the legend horizontally (for proportional symbols and choropleth types)} -\item{leg_adj}{adjust the postion of the legend in x and y directions} +\item{leg_adj}{adjust the position of the legend in x and y directions} \item{leg_box_border}{border color of legend boxes (for types related to -choropleth and typologie)} +choropleth and typology)} \item{leg_box_cex}{width and height size expansion of boxes} diff --git a/man/mf_scale.Rd b/man/mf_scale.Rd index f563dbb..3f6a637 100644 --- a/man/mf_scale.Rd +++ b/man/mf_scale.Rd @@ -35,7 +35,7 @@ Possible values are "m" and "ft" (see Details).} \item{scale_units}{units used for the scale bar. Can be "mi" for miles, "ft" for feet, "m" for meters, or "km" for kilometers (default).} -\item{adj}{adjust the postion of the scale bar in x and y directions} +\item{adj}{adjust the position of the scale bar in x and y directions} \item{x}{object of class crs, sf or sfc. If set, the CRS of x will be used instead of \code{crs_units} to define CRS units.} diff --git a/man/mf_symb.Rd b/man/mf_symb.Rd index 4c2853c..0007d70 100644 --- a/man/mf_symb.Rd +++ b/man/mf_symb.Rd @@ -76,7 +76,7 @@ mf_symb( \item{leg_frame_border}{border color of the legend frame} -\item{leg_adj}{adjust the postion of the legend in x and y directions} +\item{leg_adj}{adjust the position of the legend in x and y directions} \item{leg_fg}{color of the legend foreground} diff --git a/man/mf_symb_choro.Rd b/man/mf_symb_choro.Rd index 0a327a8..654253e 100644 --- a/man/mf_symb_choro.Rd +++ b/man/mf_symb_choro.Rd @@ -96,7 +96,7 @@ mf_symb_choro( \item{leg_horiz}{display the legend horizontally (for proportional symbols and choropleth types)} -\item{leg_adj}{adjust the postion of the legend in x and y directions} +\item{leg_adj}{adjust the position of the legend in x and y directions} \item{leg_fg}{color of the legend foreground} diff --git a/man/mf_theme.Rd b/man/mf_theme.Rd index a4f5403..faba72a 100644 --- a/man/mf_theme.Rd +++ b/man/mf_theme.Rd @@ -61,7 +61,7 @@ or the figure.} \item{pal_quali}{default qualitative color palette (name or function)} -\item{pal_seq}{default sequential color palettte (name or function)} +\item{pal_seq}{default sequential color palette (name or function)} \item{...}{deprecated arguments ('bg', 'fg', 'tab', 'pos', 'inner', 'line', 'cex' and 'font'). See the Note section.} diff --git a/man/mf_typo.Rd b/man/mf_typo.Rd index 5019693..3f37de0 100644 --- a/man/mf_typo.Rd +++ b/man/mf_typo.Rd @@ -72,7 +72,7 @@ mf_typo( \item{leg_frame_border}{border color of the legend frame} -\item{leg_adj}{adjust the postion of the legend in x and y directions} +\item{leg_adj}{adjust the position of the legend in x and y directions} \item{leg_size}{size of the legend; 2 means two times bigger}