https://github.com/tom-n-walker/uphill-plants-soil-carbon
Revision 86e4ff4cdb01102cfc06e41eb1883a3524fd7f7e authored by Tom Walker on 07 September 2021, 15:31:00 UTC, committed by Tom Walker on 07 September 2021, 15:31:00 UTC
1 parent 951e732
Tip revision: 86e4ff4cdb01102cfc06e41eb1883a3524fd7f7e authored by Tom Walker on 07 September 2021, 15:31:00 UTC
Final cosmetic tweaks.
Final cosmetic tweaks.
Tip revision: 86e4ff4
load_try.R
################################################################################
#### Project: Lowland plant migrations alpine soil C loss
#### Title: Function | Load TRY data
#### Author: Tom Walker (thomas.walker@usys.ethz.ch)
#### Date: 26 May 2021
#### ---------------------------------------------------------------------------
load_try <- function(){
trySpecies <- fread("./data/try_species.csv")
try <- fread("./data/try_nums.csv")
tryImputed <- apply_mice(try, 5)
tryOut <- bind_cols(trySpecies, tryImputed) %>% as.data.frame
return(tryOut)
}
Computing file changes ...