Skip to content

Commit

Permalink
fix comma typo; #304
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinsimpson committed Aug 5, 2024
1 parent afbeb37 commit f093c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paper.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ fv |>
filter(.parameter == "location") |>
summarise(chl_a = mean(.fitted))
```
While this is an acceptable answer to the question, it lacks an uncertainty estimate. This is where posterior sampling is useful. With a small modification of the above code and a little data wrangling, we can produce an uncertainty estimate ,using `fitted_samples()` to generate posterior draws of the expected chlorophyll *a*:
While this is an acceptable answer to the question, it lacks an uncertainty estimate. This is where posterior sampling is useful. With a small modification of the above code and a little data wrangling, we can produce an uncertainty estimate, using `fitted_samples()` to generate posterior draws of the expected chlorophyll *a*:
```{r post-sampling-1, warning = FALSE, dependson = c("fit-chl-lsslmodel", "avg-chl-ds"), cache = TRUE}
fs <- fitted_samples(m2, # model
data = ds, # values of covariates to predict at
Expand Down

0 comments on commit f093c47

Please sign in to comment.