coreytcallaghan / bird_diversity_MoB

working draft of analysis for a paper currently under review
1 stars 0 forks source link

apply to other BCRs #8

Closed coreytcallaghan closed 3 years ago

coreytcallaghan commented 3 years ago

Take data prelim code from Dan and apply to other BCRs etc. Check for generalizability among the pattern. Is it the same among different BCRs?

As a reminder the BCR essentially is a proxy for the macro-ecological scale species' pool...

coreytcallaghan commented 3 years ago

I've got this up and running now. Can be found here for example: https://github.com/coreytcallaghan/bird_diversity_MoB/tree/main/Intermediate_results/no_bootstrapping/grid_size_0.1

I also tested it at two different grid sizes for the time being.

Easiest way to read this in is

setwd("Intermediate_results/no_bootstrapping/grid_size_0.1/")
dat <- list.files(pattern = ".RDS") %>%
  map_dfr(readRDS) %>%
  mutate(BCR_CODE=as.factor(as.integer(BCR_CODE)))
setwd("../../..")