Here is some example code for this #openscience #rstats
gist.github.com/SwampThingPa...
@swampthingpaul.bsky.social
#Aquatic & #wetland #ecologist, #biogeochemist & #limnologist but you will always find me in the #garden. #rstats number crunching fool. The trails call to me. #Plantbased #vegan muscle head at heart. Webpage and blog https://swampthingecology.org/
Here is some example code for this #openscience #rstats
gist.github.com/SwampThingPa...
5) 3rd - Have the sampling frequency categories changed over time?
12.11.2025 14:55 β π 1 π 0 π¬ 1 π 04) 2nd - What is the frequency of monitoring and the number of stations at said frequency and parameter?
12.11.2025 14:55 β π 0 π 0 π¬ 1 π 03) 1st - A simple data inventory. How many samples per year by site (& network) and parameter? Some parameters are sampled more than others within different networks.
12.11.2025 14:55 β π 0 π 0 π¬ 1 π 02) As I started a new analysis, I decided to be more deliberate in understanding the sampling regime for the parameters of interest. Here are a couple of plots (and example code). Don't tell anyone ... ggplot is starting to grow on me (for somethings).
12.11.2025 14:55 β π 1 π 0 π¬ 2 π 01) With the plethora of data and more being collected with longer-term studies/analyses being developed, sampling frequency and data inventories are becoming more and more important to understand not only how the system has changed but how the monitoring has changed.
12.11.2025 14:55 β π 3 π 0 π¬ 1 π 0Have you ever looked at a complex model and wondered what variables explain the most variance, an idea from colleagues who live in the multiple linear regression world. Not sure if I did it right for GAMs, so I posted the question with reproducible code ...
stats.stackexchange.com/questions/67...
It's like if you mentor somebody and invest time you benefit ... Strange π€
Yes, that was sarcasm. Accepting a student (as a graduate student) is an investment in the future and your legacy. It should be taken seriously.
www.nature.com/articles/d41...
I've been listening to a lot of @classicfm.com lately, it makes me feel like I'm listening to a little box radio, sitting next to a fireplace in a comfy chair, sipping tea in some cottage in the Cotswolds or Lakes District.
... close, just 5000 km away. But still got the fireplace and comfy chair
Probably the last good weekend to catch the autumn colors, albeit muted due to the drought. As expected, there was a water/limnological based theme π. We visited ESF Pond 1 in Heiberg Memorial Forest, Clark Reservation State Park, Chittenango Falls State Park, and Nelson Swamp unique area (no pic).
20.10.2025 00:52 β π 6 π 0 π¬ 0 π 0Looking at the titles of manuscripts from the past is fun ... it seems much more relaxed. Like this one "Sveriges geologiska undersΓΆknings torvinventering och nΓ₯gra av dess hittills vunna resultat." roughly translated to "Sweden's peatlands geological survey and some results gained so far."
10.10.2025 12:30 β π 3 π 0 π¬ 0 π 0I was reading a paper today about stable states ... and they have ASS throughout the paper as an acronym for Alternative Stable States. In the associated code, they have a data.frame where they combined two very large datasets and called it bigass ... couldn't stop laughing whilst reading the paper.
09.10.2025 18:10 β π 4 π 0 π¬ 0 π 0While digging through some code from a manuscript I recently read ... yes, that rabbit hole I came across this line and I think I just found my new favorite set.seed(...) π€£
set.seed(i+42) # Donβt Panic. βWhat is the meaning of life, the universe, and everything?β
#Rstats
While I understand the intent of this message, it also doesn't negate the need for A) the user to read and understand the script and B) the developer to write functional code.
My personal code usually has this in it to help my OCD brain function. But if I share the code I remove this line.
Checked out Lake #George for #WorldLakeDay π Just 60 mi from Lake #Champlain, but water levels tell a different story: while trending down its not as drastic as Champlain π
28.08.2025 13:09 β π 5 π 0 π¬ 0 π 0Following up on Lake Champlain levels: USGS data show major tributaries (Saranac, Ausable, Boquet, Lamoille, Winooski, Otter) are at record-low summer flows. Most <5th percentile. Drought or shifting climate? π¦οΈπ #fedopendata
27.08.2025 16:57 β π 1 π 1 π¬ 0 π 0@dsmccormick.bsky.socialβ¬ Thanks for the suggestion ... here is a revised version with the turbo color scale. I think I like this one better!! It definitely contrasts the categories more.
25.08.2025 17:33 β π 1 π 0 π¬ 1 π 0For my hashtag#openscience and hashtag#rstats friends, here is the code behind this plot. In addition to exploring data from a different lake, I learned some new code using ggplot with spatial data and combining multiple plots into one coherent visualization.
gist.github.com/SwampThingPa...
calendar plot of Lake Champlain for the last 50 years
Lake Champlain is at its lowest for this time of year in over 50 years, much earlier than it should be.
To visualize this, I created a calendar plot that bins 50 years of lake stage data into quantiles.
#OpenScience #RStats #DataVisualization
Every summer, algae blooms erupt across Floridaβs largest lake, choking the ecosystem and threatening our economy.
We collaborated with the National Park Service using decades of ecosystem monitoring data to develop a predictive algae model.
www.evergladesfoundation.org/post/bloom-w...
The wet season is taking it's sweet time kicking in. What does that mean for our environment and our way of life. Here is a blog post/article thingy we (a The Everglades Foundation team effort) did discussing it.
www.evergladesfoundation.org/post/the-sea...
Easier said than done nowadays (at least in the US). In the past three weeks I've reached out to five companies only two return my calls with one saying we aren't doing anymore installs so they can't quote me. Granted the US is a roaring garbage fire right now ...
14.08.2025 10:55 β π 0 π 0 π¬ 0 π 0If you work with censored data in R, you might have noticed the absence of NADA and NADA2. Due to CRAN package management actions, these packages were unexpectedly archived. NADA2 is now functional again and removed any NADA dependencies.
github.com/SwampThingPa...
Have you ever been homesick for a place you've never been? I have been struggling with this feeling for a while. I love my home, our garden but there is this nagging feeling I'm not where I should be. Maybe it's just wunderlust, mental and emotional exhaustion and/or romanticizing an idea ...
23.07.2025 12:57 β π 2 π 0 π¬ 0 π 0What especially neat is that its all hashtag#OpenScience with a R shiny app to interact with the models
swampthingpaul.shinyapps.io/lok_algaeeva...
π New study alert! We modeled what drives harmful algal blooms in Lake Okeechobee using decades of data. The LOK-HABAM model links hydrology + nutrients to bloom riskβhelping guide smarter restoration + ops. Science that informs action!
www.frontiersin.org/journals/wat...
Is that pollen or some kind of phytoplankton?!?
30.05.2025 23:46 β π 0 π 0 π¬ 1 π 0"Sorry for the delay in responding to your message, I've been watching a live stream"
I actually used that today as a colleague texted me and it took me a while to respond. ππ
How do people leave this (picture #1) and say I'm moving to "paradise" (picture #2)? It made me nauseous looking at where I used to live and grateful that we are no longer there.
22.05.2025 08:52 β π 1 π 0 π¬ 0 π 0