m <- trini_mod
m$events <- NULL
pulses <- tibble::tribble(
~ stream, ~ transect, ~ comp, ~ time, ~ qty_14N, ~ qty_15N,
"UL", "transect.1", "NH4", 11, 0, -0.00569,
"UL", "transect.2", "NH4", 11, 0, -0.00264,
"UL", "transect.3", "NH4", 11, 0, -0.000726,
"UL", "transect.1", "NO3", 11, 0, -0.00851,
"UL", "transect.2", "NO3", 11, 0, -0.01118,
"UL", "transect.3", "NO3", 11, 0, -0.01244,
)
m <- add_pulse_event(m, pulses = pulses, comp = "comp", time = "time",
unmarked = "qty_14N", marked = "qty_15N")
m
Run the code above in your browser using DataLab