Revision 6023f7d6a915db21b0d9f810fb60dd4bea48cbfc authored by Tom Walker on 29 November 2021, 09:33:48 UTC, committed by Tom Walker on 29 November 2021, 09:33:48 UTC
1 parent 86e4ff4
load_gh_plants.R
################################################################################
#### Project: Lowland plant migrations alpine soil C loss
#### Title: Function | Load glasshouse species level data
#### Author: Tom Walker (thomas.walker@usys.ethz.ch)
#### Date: 26 May 2021
#### ---------------------------------------------------------------------------
load_gh_plants <- function(){
# load
plants <- fread("./data/glasshouse_plants.csv") %>%
as.data.frame %>%
# select traits of interest
select(Pot:PFT, rAGB.mg:rTB.mg, SLA.cm2.g, Amax, gsmax) %>%
# drop NAs
drop_na
# return
return(plants)
}
Computing file changes ...