x3p_raster_relabel_boundary: Relabel mask of an 'x3p' object with x and y border...

View source: R/x3p_raster_relabel.R

x3p_raster_relabel_boundaryR Documentation

Relabel mask of an 'x3p' object with x and y border specifications This function allows a user to relabel a mask of an 'x3p' object The user is required to specify minimum and maximum, x and y locations, beaware of surface dimensions

Description

Relabel mask of an 'x3p' object with x and y border specifications This function allows a user to relabel a mask of an 'x3p' object The user is required to specify minimum and maximum, x and y locations, beaware of surface dimensions

Usage

x3p_raster_relabel_boundary(
  df,
  mask_1,
  mask_2,
  x1,
  x2,
  y1,
  y2,
  multiple = FALSE,
  select_col
)

Arguments

df

object of class 'x3p' or a tibble style dataframe containing 'x3p' objects

mask_1

old mask label the user wishes to replace, must be a color code #8digits

mask_2

new mask label user wishes to replace with old mask label, must be a color code #8digits

x1

minimum x location...

x2

maximum x location...

y1

minimum y location...

y2

maximum y location...

multiple

clarify whether user is working with a single 'x3p' object or multiple in a tibble style dataframe

select_col

if multiple = TRUE, column name containing the x3p objects

Value

'x3p' object with altered mask


xazip/x3pLeaX documentation built on July 14, 2022, 5:37 p.m.