Skip to content

Commit 09968e6

Browse files
committed
Match vignette titles + drop inlabru
1 parent fda4338 commit 09968e6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

vignettes/articles/presence-only.Rmd

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
title: "Spatial Modeling of Presence-Only Data with Adding Pseudo-Absences"
2+
title: "Spatial Modeling of Presence-Only Data with sdmTMB"
33
author: "Julia Indivero, Sean Anderson, Lewis Barnett, Philina English, Eric Ward, Jim Thorson"
44
date: "`r Sys.Date()`"
55
output: rmarkdown::html_vignette
66
vignette: >
7-
%\VignetteIndexEntry{Presence Data with sdmTMB}
7+
%\VignetteIndexEntry{Spatial Modeling of Presence-Only Data with sdmTMB}
88
%\VignetteEngine{knitr::rmarkdown}
99
%\VignetteEncoding{UTF-8}
1010
---
@@ -115,12 +115,11 @@ mesh <- make_mesh(
115115
The dimensions of the mesh (or number of vertices or knots) can be accessed with `mesh$mesh$n`.
116116
A cutoff distance of 15 yields ~ 1399 knots, and a cutoff distance of 25 yields a mesh with 624 knots.
117117

118-
Blue dots are data, red grid dots are quadrature points, and grey triangles are from the SPDE mesh.
118+
In the following plot, blue dots are data and red grid dots are quadrature points.
119119

120120
```{r mesh-viz, fig.asp=0.5, echo=FALSE}
121121
all_dat$fpres <- as.factor(all_dat$present)
122122
ggplot() +
123-
inlabru::gg(mesh$mesh) +
124123
geom_point(
125124
data = all_dat,
126125
aes(x = x, y = y, col = fpres), size = 0.1, alpha = 0.3

0 commit comments

Comments
 (0)