Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/stineb/rsofun
Browse files Browse the repository at this point in the history
  • Loading branch information
stineb committed Sep 27, 2021
2 parents 9ace6c7 + f367ded commit a32bcc0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/collect_drivers_rsofun.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,10 @@ collect_drivers_sofun <- function(
ungroup() %>%
summarise(across(
c("ppfd", "rain", "snow", "prec", "temp",
"patm", "vpd", "ccov", "fapar", "co2"), ~sum(!is.na(.)))) %>%
pivot_longer(cols = 1:10, names_to = "var", values_to = "n_not_missing")
"patm", "vpd", "ccov", "fapar", "co2",
"tmin","tmax"), ~sum(!is.na(.)))) %>%
pivot_longer(cols = 1:12, names_to = "var",
values_to = "n_not_missing")
}

df_missing <- df_mega %>%
Expand Down

0 comments on commit a32bcc0

Please sign in to comment.