Skip to content
Snippets Groups Projects
Commit 65a8df55 authored by Thomas Gremmen's avatar Thomas Gremmen
Browse files

The script crashed due to (missing) capitalisation. this is fixed now.

parent 38652dd2
No related branches found
No related tags found
No related merge requests found
......@@ -219,7 +219,7 @@ for (i in seq(nrow(time_cue))) {
print(paste("Start:", time_cue$Start[i], "Stop:", time_cue$Stop[i], "Logger:", time_cue$Logger[i]))
# Subset the temperature data
subset_temp <- temp[(temp$Dt >= time_cue$Start[i] & temp$Dt <= time_cue$Stop[i] & temp$Logger == time_cue$Logger[i]),]$Temperature
subset_temp <- temp[(temp$Dt >= time_cue$Start[i] & temp$Dt <= time_cue$Stop[i] & tolower(temp$Logger) == tolower(time_cue$Logger[i])),]$Temperature
# Print the temperature subset values
print(subset_temp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment