Closed kunstler closed 4 years ago
require(drake)
require(dplyr)
loadd(treesC4)
treesC4$w are factors then --> as.numeric(as.character(treesC4$w))
treesC4$basal_area <- (treesC4$c13 * 2 / (4*3.14) ) * as.numeric(as.character(treesC4$w))
#undergroups <- treesC4 %>% group_by(idp, espar) %>% summaries(mean_basal_area <- mean(basal_area))
Erreur : function summaries() in drake is defunct.
I will continue to formatting data monday
View "basal_area_calc" file commit this day
put species name replace NA per 0
4 unknown species code in C4 data
compute sum of basal area with weight per hectar using w and c13 excluding dead tree to have a table with in row the plot (idp) and in column the species. using group_by in dplyr