Skip to content

Commit 92a5743

Browse files
committed
- fix so PDF figure is shown
- lang fix
1 parent 8a9be04 commit 92a5743

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stan-users-guide/odes.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ real[] sho(real t, // time
7272
```
7373

7474
The function takes in a time `t` (a real value), a a system state
75-
`y` (real array), system parameters `theta` (a real array),
75+
`y` (a real array), system parameters `theta` (a real array),
7676
along with real data in variable `x_r` (a real array) and
7777
integer data in variable `x_i` (an integer array). The system
7878
function returns the array of derivatives of the system state with
@@ -200,7 +200,7 @@ oscillator trajectory plots.
200200
Trajectory of the simple harmonic oscillator given parameter $\theta=0.15$ and initial condition $y(t=0) = (1,0)$ with additional independent $\textsf{normal}(0,0.1)$ measurement error in both dimensions.
201201

202202
```{r fig.cap="Simple harmonic oscillator trajectory"}
203-
knitr::include_graphics("img/sho-ode-trajectory.pdf", auto_pdf = TRUE)
203+
knitr::include_graphics("img/sho-ode-trajectory.pdf")
204204
```
205205
<a name="id:sho-trajectory.figure"></a>
206206

0 commit comments

Comments
 (0)