Description Usage Arguments Value
View source: R/mask-functions.R
Resize the mask
1 2 | resize_mask(mask, reference_df, step = 0.25, coordinates_names = c("lon",
"lat"), plot_ = FALSE)
|
mask |
a mask dataframe loaded using the load_mask function. |
reference_df |
a reference dataframe containing at least the following variables: longitude, latitude, id_pixel. |
step |
step (resolution) in the longitude-latitude grid. Set to 0.25 by default. |
coordinates_names |
names of the coordinates (longitude and latitude). |
plot_ |
Should the function plot the original and interpolated map for a visual comparison? Boolean. FALSE by default. |
a dplyr dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.