View source: R/x3p_raster_relabel.R
x3p_raster_relabel_boundary | R 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
x3p_raster_relabel_boundary( df, mask_1, mask_2, x1, x2, y1, y2, multiple = FALSE, select_col )
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 |
'x3p' object with altered mask
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.