From 26a58eb0399ea90118982298f0c6beb48d297f41 Mon Sep 17 00:00:00 2001 From: "Yuhang (Tom) Lin" Date: Sun, 24 Sep 2023 13:47:55 -0500 Subject: [PATCH] Correct mask --- R/x3p_impute.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/x3p_impute.R b/R/x3p_impute.R index a9ec7d1..f02eb11 100644 --- a/R/x3p_impute.R +++ b/R/x3p_impute.R @@ -162,7 +162,7 @@ x3p_impute <- function(x3p, x3p_mask, mask_col = "#FF0000", invisible() } - x3p_inner_focal_impute <- x3p_mask %>% + x3p_inner_focal_impute <- x3p %>% x3p_delete_mask() x3p_inner_focal_impute$surface.matrix <- x3p_inner_nomiss_res_focal_raster %>% as.matrix() %>%