https://github.com/tom-n-walker/uphill-plants-soil-carbon
Tip revision: 951e73295060ad88bddf5d48a3aa4b9d90475312 authored by Tom Walker on 07 September 2021, 14:32:36 UTC
Merge branch 'main' of github.com:tom-n-walker/uphill-plants-soil-carbon into main
Merge branch 'main' of github.com:tom-n-walker/uphill-plants-soil-carbon into main
Tip revision: 951e732
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)
}