From 1ce20bb20e0e848ea85f6dec0048f5f726708320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20M=2E=20Alc=C3=A1ntara?= Date: Mon, 22 Jul 2024 12:33:14 +0200 Subject: [PATCH] Update aggr_RN.R I have canceled the removal of "Open" from the recruit species (line 44) because it gives problems when transforming the RN to matrix (since the number of rows and columns differ) --- R/aggr_RN.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/aggr_RN.R b/R/aggr_RN.R index 5a62d83..240450c 100644 --- a/R/aggr_RN.R +++ b/R/aggr_RN.R @@ -41,7 +41,7 @@ aggr_RN <- function(raw_RN) { RN[is.na(RN)] <- 0 RN$Canopy <- as.character(RN$Canopy) RN$Recruit <- as.character(RN$Recruit) - RN <- RN[which(RN$Recruit!="Open"),] # Remove Open from the Recruit species + # RN <- RN[which(RN$Recruit!="Open"),] # Remove Open from the Recruit species return(RN) }