Skip to content

Commit

Permalink
Shorten example
Browse files Browse the repository at this point in the history
  • Loading branch information
seananderson committed Oct 19, 2023
1 parent 6231927 commit 408311f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions R/gather-spread.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@
#' * columns for each parameter with a sample per row
#'
#' @examples
#' m <- sdmTMB(density ~ 0 + depth_scaled + depth_scaled2,
#' data = pcod_2011, mesh = pcod_mesh_2011, family = tweedie(),
#' spatiotemporal = "AR1", time = "year")
#' m <- sdmTMB(density ~ depth_scaled,
#' data = pcod_2011, mesh = pcod_mesh_2011, family = tweedie())
#' head(spread_sims(m, nsim = 10))
#' head(gather_sims(m, nsim = 10))
#' samps <- gather_sims(m, nsim = 1000)
Expand Down
5 changes: 2 additions & 3 deletions man/gather_sims.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 408311f

Please sign in to comment.