# 'tidyverse' Methods and 'ggplot2' Helpers for 'terra' Objects

## Documentation for package ‘tidyterra’ version 1.3.0

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

A B C D E F G H I L M N P R S T U V W

## -- A --

add_count.SpatVector | Count the observations in each 'SpatVector' group
anti_join.SpatVector | Filtering joins for 'SpatVector' objects
arrange.SpatVector | Order a 'SpatVector' using column values
as_coordinates | Get cell number, row and column from a 'SpatRaster'
as_sf | Coerce a 'SpatVector' to a 'sf' object
as_spatraster | Coerce a data frame to 'SpatRaster'
as_spatvector | Coerce objects to 'SpatVector'
as_spatvector.data.frame | Coerce objects to 'SpatVector'
as_spatvector.sf | Coerce objects to 'SpatVector'
as_spatvector.sfc | Coerce objects to 'SpatVector'
as_spatvector.SpatVector | Coerce objects to 'SpatVector'
as_tibble.Spat | Coerce 'SpatRaster' and 'SpatVector' objects to tibbles
as_tibble.SpatRaster | Coerce 'SpatRaster' and 'SpatVector' objects to tibbles
as_tibble.SpatVector | Coerce 'SpatRaster' and 'SpatVector' objects to tibbles
autoplot.Spat | Create a complete ggplot for Spat* objects
autoplot.SpatExtent | Create a complete ggplot for Spat* objects
autoplot.SpatGraticule | Create a complete ggplot for Spat* objects
autoplot.SpatRaster | Create a complete ggplot for Spat* objects
autoplot.SpatVector | Create a complete ggplot for Spat* objects

## -- B --

bind.Spat | Bind multiple 'SpatVector', 'sf', 'sfc' and data frame objects by row
bind_cols.SpatVector | Bind multiple 'SpatVector', 'sf' and data frame objects by column
bind_rows.SpatVector | Bind multiple 'SpatVector', 'sf', 'sfc' and data frame objects by row
bind_spat_cols | Bind multiple 'SpatVector', 'sf' and data frame objects by column
bind_spat_rows | Bind multiple 'SpatVector', 'sf', 'sfc' and data frame objects by row

## -- C --

compare_spatrasters | Compare attributes of two 'SpatRaster' objects
complete.SpatVector | Complete missing combinations in a 'SpatVector'
count.SpatVector | Count the observations in each 'SpatVector' group
cross_blended.colors | Cross-blended hypsometric tint scales
cross_blended.colors2 | Cross-blended hypsometric tint scales
cross_blended_hypsometric_tints_db | Cross-blended hypsometric tints
cross_join.SpatVector | Cross joins for 'SpatVector' objects

## -- D --

distinct.SpatVector | Keep distinct/unique rows and geometries of 'SpatVector' objects
drop_na.Spat | Drop attributes of Spat* objects containing missing values
drop_na.SpatRaster | Drop attributes of Spat* objects containing missing values
drop_na.SpatVector | Drop attributes of Spat* objects containing missing values

## -- E --

expand.SpatVector | Expand 'SpatVector' attribute combinations

## -- F --

fill.SpatVector | Fill in missing values with previous or next value on a 'SpatVector'
filter-joins.SpatVector | Filtering joins for 'SpatVector' objects
filter.Spat | Subset cells/geometries of Spat* objects
filter.SpatRaster | Subset cells/geometries of Spat* objects
filter.SpatVector | Subset cells/geometries of Spat* objects
filter_out.SpatVector | Subset cells/geometries of Spat* objects
fortify.Spat | Fortify Spat* objects
fortify.SpatExtent | Fortify Spat* objects
fortify.SpatGraticule | Fortify Spat* objects
fortify.SpatRaster | Fortify Spat* objects
fortify.SpatVector | Fortify Spat* objects
full_join.SpatVector | Mutating joins for 'SpatVector' objects

## -- G --

geom_spatraster | Plot 'SpatRaster' objects
geom_spatraster_contour | Plot 'SpatRaster' contours
geom_spatraster_contour_filled | Plot 'SpatRaster' contours
geom_spatraster_contour_text | Plot 'SpatRaster' contours
geom_spatraster_rgb | Plot 'SpatRaster' objects as images
geom_spatvector | Plot 'SpatVector' objects
geom_spatvector_label | Plot 'SpatVector' objects
geom_spatvector_text | Plot 'SpatVector' objects
geom_spat_contour | Plot 'SpatRaster' contours
get_coltab_pal | Discrete scales based on 'SpatRaster' color tables
ggspatvector | Plot 'SpatVector' objects
glance.Spat | Glance at an Spat* object
glance.SpatRaster | Glance at an Spat* object
glance.SpatVector | Glance at an Spat* object
glimpse.Spat | Preview Spat* objects
glimpse.SpatRaster | Preview Spat* objects
glimpse.SpatVector | Preview Spat* objects
grass.colors | GRASS scales
grass_db | GRASS color tables
group_by.SpatVector | Group a 'SpatVector' by one or more variables

## -- H --

hypso.colors | Gradient scales for hypsometric and bathymetric tints
hypso.colors2 | Gradient scales for hypsometric and bathymetric tints
hypsometric_tints_db | Hypsometric palettes database

## -- I --

inner_join.SpatVector | Mutating joins for 'SpatVector' objects
is_regular_grid | Check whether 'x' and 'y' positions form a regular grid

## -- L --

left_join.SpatVector | Mutating joins for 'SpatVector' objects

## -- M --

mutate-joins.SpatVector | Mutating joins for 'SpatVector' objects
mutate.Spat | Create, modify and delete cell values/layers/attributes of Spat* objects
mutate.SpatRaster | Create, modify and delete cell values/layers/attributes of Spat* objects
mutate.SpatVector | Create, modify and delete cell values/layers/attributes of Spat* objects

## -- N --

nest.SpatVector | Nest 'SpatVector' rows
nest_join.SpatVector | Nest join 'SpatVector' objects

## -- P --

pivot_longer.SpatVector | Pivot 'SpatVector' from wide to long
pivot_wider.SpatVector | Pivot 'SpatVector' from long to wide
princess.colors | Gradient scales from princess color schemes
princess_db | Princess palettes database
pull.Spat | Extract a single layer/attribute
pull.SpatRaster | Extract a single layer/attribute
pull.SpatVector | Extract a single layer/attribute
pull_crs | Extract CRS in WKT format

## -- R --

reframe.SpatVector | Reframe each group of a 'SpatVector'
relocate.Spat | Change layer/attribute order
relocate.SpatRaster | Change layer/attribute order
relocate.SpatVector | Change layer/attribute order
rename.Spat | Rename layers/attributes
rename.SpatRaster | Rename layers/attributes
rename.SpatVector | Rename layers/attributes
rename_with.SpatRaster | Rename layers/attributes
rename_with.SpatVector | Rename layers/attributes
replace_na.Spat | Replace 'NA's with specified values
replace_na.SpatRaster | Replace 'NA's with specified values
replace_na.SpatVector | Replace 'NA's with specified values
required_pkgs.Spat | Determine packages required by Spat* objects
required_pkgs.SpatExtent | Determine packages required by Spat* objects
required_pkgs.SpatGraticule | Determine packages required by Spat* objects
required_pkgs.SpatRaster | Determine packages required by Spat* objects
required_pkgs.SpatVector | Determine packages required by Spat* objects
right_join.SpatVector | Mutating joins for 'SpatVector' objects
rows.SpatVector | Row operations for 'SpatVector' objects
rows_append.SpatVector | Row operations for 'SpatVector' objects
rows_delete.SpatVector | Row operations for 'SpatVector' objects
rows_insert.SpatVector | Row operations for 'SpatVector' objects
rows_patch.SpatVector | Row operations for 'SpatVector' objects
rows_update.SpatVector | Row operations for 'SpatVector' objects
rows_upsert.SpatVector | Row operations for 'SpatVector' objects
rowwise.SpatVector | Group 'SpatVector' objects by rows

## -- S --

scale_color_coltab | Discrete scales based on 'SpatRaster' color tables
scale_color_cross_blended_b | Cross-blended hypsometric tint scales
scale_color_cross_blended_c | Cross-blended hypsometric tint scales
scale_color_cross_blended_d | Cross-blended hypsometric tint scales
scale_color_cross_blended_tint_b | Cross-blended hypsometric tint scales
scale_color_cross_blended_tint_c | Cross-blended hypsometric tint scales
scale_color_cross_blended_tint_d | Cross-blended hypsometric tint scales
scale_color_grass_b | GRASS scales
scale_color_grass_c | GRASS scales
scale_color_grass_d | GRASS scales
scale_color_hypso_b | Gradient scales for hypsometric and bathymetric tints
scale_color_hypso_c | Gradient scales for hypsometric and bathymetric tints
scale_color_hypso_d | Gradient scales for hypsometric and bathymetric tints
scale_color_hypso_tint_b | Gradient scales for hypsometric and bathymetric tints
scale_color_hypso_tint_c | Gradient scales for hypsometric and bathymetric tints
scale_color_hypso_tint_d | Gradient scales for hypsometric and bathymetric tints
scale_color_princess_b | Gradient scales from princess color schemes
scale_color_princess_c | Gradient scales from princess color schemes
scale_color_princess_d | Gradient scales from princess color schemes
scale_color_terrain_b | Terrain color scales from 'grDevices'
scale_color_terrain_c | Terrain color scales from 'grDevices'
scale_color_terrain_d | Terrain color scales from 'grDevices'
scale_color_whitebox_b | Gradient scales from *WhiteboxTools* color schemes
scale_color_whitebox_c | Gradient scales from *WhiteboxTools* color schemes
scale_color_whitebox_d | Gradient scales from *WhiteboxTools* color schemes
scale_color_wiki_b | Gradient scales from *Wikipedia* color schemes
scale_color_wiki_c | Gradient scales from *Wikipedia* color schemes
scale_color_wiki_d | Gradient scales from *Wikipedia* color schemes
scale_colour_coltab | Discrete scales based on 'SpatRaster' color tables
scale_colour_cross_blended_b | Cross-blended hypsometric tint scales
scale_colour_cross_blended_c | Cross-blended hypsometric tint scales
scale_colour_cross_blended_d | Cross-blended hypsometric tint scales
scale_colour_cross_blended_tint_b | Cross-blended hypsometric tint scales
scale_colour_cross_blended_tint_c | Cross-blended hypsometric tint scales
scale_colour_cross_blended_tint_d | Cross-blended hypsometric tint scales
scale_colour_grass_b | GRASS scales
scale_colour_grass_c | GRASS scales
scale_colour_grass_d | GRASS scales
scale_colour_hypso_b | Gradient scales for hypsometric and bathymetric tints
scale_colour_hypso_c | Gradient scales for hypsometric and bathymetric tints
scale_colour_hypso_d | Gradient scales for hypsometric and bathymetric tints
scale_colour_hypso_tint_b | Gradient scales for hypsometric and bathymetric tints
scale_colour_hypso_tint_c | Gradient scales for hypsometric and bathymetric tints
scale_colour_hypso_tint_d | Gradient scales for hypsometric and bathymetric tints
scale_colour_princess_b | Gradient scales from princess color schemes
scale_colour_princess_c | Gradient scales from princess color schemes
scale_colour_princess_d | Gradient scales from princess color schemes
scale_colour_terrain_b | Terrain color scales from 'grDevices'
scale_colour_terrain_c | Terrain color scales from 'grDevices'
scale_colour_terrain_d | Terrain color scales from 'grDevices'
scale_colour_whitebox_b | Gradient scales from *WhiteboxTools* color schemes
scale_colour_whitebox_c | Gradient scales from *WhiteboxTools* color schemes
scale_colour_whitebox_d | Gradient scales from *WhiteboxTools* color schemes
scale_colour_wiki_b | Gradient scales from *Wikipedia* color schemes
scale_colour_wiki_c | Gradient scales from *Wikipedia* color schemes
scale_colour_wiki_d | Gradient scales from *Wikipedia* color schemes
scale_coltab | Discrete scales based on 'SpatRaster' color tables
scale_cross_blended | Cross-blended hypsometric tint scales
scale_fill_coltab | Discrete scales based on 'SpatRaster' color tables
scale_fill_cross_blended_b | Cross-blended hypsometric tint scales
scale_fill_cross_blended_c | Cross-blended hypsometric tint scales
scale_fill_cross_blended_d | Cross-blended hypsometric tint scales
scale_fill_cross_blended_tint_b | Cross-blended hypsometric tint scales
scale_fill_cross_blended_tint_c | Cross-blended hypsometric tint scales
scale_fill_cross_blended_tint_d | Cross-blended hypsometric tint scales
scale_fill_grass_b | GRASS scales
scale_fill_grass_c | GRASS scales
scale_fill_grass_d | GRASS scales
scale_fill_hypso_b | Gradient scales for hypsometric and bathymetric tints
scale_fill_hypso_c | Gradient scales for hypsometric and bathymetric tints
scale_fill_hypso_d | Gradient scales for hypsometric and bathymetric tints
scale_fill_hypso_tint_b | Gradient scales for hypsometric and bathymetric tints
scale_fill_hypso_tint_c | Gradient scales for hypsometric and bathymetric tints
scale_fill_hypso_tint_d | Gradient scales for hypsometric and bathymetric tints
scale_fill_princess_b | Gradient scales from princess color schemes
scale_fill_princess_c | Gradient scales from princess color schemes
scale_fill_princess_d | Gradient scales from princess color schemes
scale_fill_terrain_b | Terrain color scales from 'grDevices'
scale_fill_terrain_c | Terrain color scales from 'grDevices'
scale_fill_terrain_d | Terrain color scales from 'grDevices'
scale_fill_whitebox_b | Gradient scales from *WhiteboxTools* color schemes
scale_fill_whitebox_c | Gradient scales from *WhiteboxTools* color schemes
scale_fill_whitebox_d | Gradient scales from *WhiteboxTools* color schemes
scale_fill_wiki_b | Gradient scales from *Wikipedia* color schemes
scale_fill_wiki_c | Gradient scales from *Wikipedia* color schemes
scale_fill_wiki_d | Gradient scales from *Wikipedia* color schemes
scale_grass | GRASS scales
scale_hypso | Gradient scales for hypsometric and bathymetric tints
scale_princess | Gradient scales from princess color schemes
scale_terrain | Terrain color scales from 'grDevices'
scale_whitebox | Gradient scales from *WhiteboxTools* color schemes
scale_wiki | Gradient scales from *Wikipedia* color schemes
select.Spat | Subset layers/attributes of Spat* objects
select.SpatRaster | Subset layers/attributes of Spat* objects
select.SpatVector | Subset layers/attributes of Spat* objects
semi_join.SpatVector | Filtering joins for 'SpatVector' objects
slice.Spat | Subset cells/rows/columns/geometries using their positions
slice.SpatRaster | Subset cells/rows/columns/geometries using their positions
slice.SpatVector | Subset cells/rows/columns/geometries using their positions
slice_colrows | Subset cells/rows/columns/geometries using their positions
slice_colrows.SpatRaster | Subset cells/rows/columns/geometries using their positions
slice_cols | Subset cells/rows/columns/geometries using their positions
slice_cols.SpatRaster | Subset cells/rows/columns/geometries using their positions
slice_head.SpatRaster | Subset cells/rows/columns/geometries using their positions
slice_head.SpatVector | Subset cells/rows/columns/geometries using their positions
slice_max.SpatRaster | Subset cells/rows/columns/geometries using their positions
slice_max.SpatVector | Subset cells/rows/columns/geometries using their positions
slice_min.SpatRaster | Subset cells/rows/columns/geometries using their positions
slice_min.SpatVector | Subset cells/rows/columns/geometries using their positions
slice_rows | Subset cells/rows/columns/geometries using their positions
slice_rows.SpatRaster | Subset cells/rows/columns/geometries using their positions
slice_sample.SpatRaster | Subset cells/rows/columns/geometries using their positions
slice_sample.SpatVector | Subset cells/rows/columns/geometries using their positions
slice_tail.SpatRaster | Subset cells/rows/columns/geometries using their positions
slice_tail.SpatVector | Subset cells/rows/columns/geometries using their positions
stat_spatraster | Plot 'SpatRaster' objects
stat_spatvector | Plot 'SpatVector' objects
summarise.SpatVector | Summarise each group of a 'SpatVector' down to one geometry
summarize.SpatVector | Summarise each group of a 'SpatVector' down to one geometry

## -- T --

tally.SpatVector | Count the observations in each 'SpatVector' group
tidy.Spat | Tidy Spat* objects for plotting
tidy.SpatExtent | Tidy Spat* objects for plotting
tidy.SpatGraticule | Tidy Spat* objects for plotting
tidy.SpatRaster | Tidy Spat* objects for plotting
tidy.SpatVector | Tidy Spat* objects for plotting

## -- U --

uncount.SpatVector | Duplicate 'SpatVector' rows
ungroup.SpatVector | Group a 'SpatVector' by one or more variables
unite.Spat | Unite Spat* layers or attributes
unite.SpatRaster | Unite Spat* layers or attributes
unite.SpatVector | Unite Spat* layers or attributes

## -- V --

volcano2 | Updated topographic information on Auckland's Maungawhau volcano

## -- W --

whitebox.colors | Gradient scales from *WhiteboxTools* color schemes
wiki.colors | Gradient scales from *Wikipedia* color schemes