library(targets)
library(ggplot2)
library(tidyverse)
library(tidybayes)
How do things grow (or: decay)
Let’s start with a simple simulation:
<- 45
start_size <- .3
decay_rate tibble(time = 0:20,
mass = start_size * exp(-decay_rate * time)) |>
ggplot(aes(x = time, y = mass)) +
geom_point()