Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .RDataTmp3
Binary file not shown.
5 changes: 3 additions & 2 deletions current-data-zr.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ library(gt)
library(lubridate)
library(cowplot)
library(forcats)
library(stringr)

SITES <- params$SITES
PATH <- params$DROPBOX
Expand Down Expand Up @@ -290,7 +291,7 @@ if(nrow(sf) > 0) {

for(site in unique(sf_long_current$Site)) {
p <- ggplot(filter(sf_long_current, Site == site),
aes(TIMESTAMP, value, color = interaction(Tree))) +
aes(TIMESTAMP, value, color = Tree)) +
facet_grid(. ~ Plot) +
ylab("Raw sapflow") +
geom_point(na.rm = TRUE) +
Expand Down Expand Up @@ -526,7 +527,7 @@ max_counts <- site_locations %>%
# mutate(Plot = fct_relevel(Plot, c("UP", "TR", "WTE", "W", "WC")))

prop_plot_600 <- troll_long_current %>%
filter(name == "Pressure" & !is.na(value) & Table == "WaterLevel600") %>% ##Why are there 3 replicates for each timestamp and only one has a value?
filter(name == "Pressure" & !is.na(value) & str_detect(Table, "WaterLevel600")) %>% ##Why are there 3 replicates for each timestamp and only one has a value?
group_by(Site, Plot) %>%
count() %>%
bind_rows(anti_join(max_counts, .)) %>%
Expand Down
Loading