# calculate survival rate
minnow_it %>% survival()
# plot survival over time based on a random exposure profile
minnow_sd %>%
set_exposure(data.frame(t=1:100, c=runif(100)*10)) %>%
survival() -> df
plot(df$time, df$survival, "l")
Run the code above in your browser using DataLab