https://github.com/tom-n-walker/uphill-plants-soil-carbon
Tip revision: a9e7a872d22a45dbd91bb00751d522812138eefd authored by Tom Walker on 08 February 2022, 15:18:56 UTC
Additional and revised analysis in response to author comments.
Additional and revised analysis in response to author comments.
Tip revision: a9e7a87
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)
}