Skip to content

Commit

Permalink
Fix vignette building fail
Browse files Browse the repository at this point in the history
  • Loading branch information
pchelle committed Feb 25, 2021
1 parent 004049c commit 9a5c98b
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions vignettes/atom-plots.Rmd
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
title: "Atom plots"
output:
rmarkdown::html_vignette:
number_sections: true
author: "OSPSuiteR 2019"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{atom-plots}
%\VignetteEngine{knitr::rmarkdown}
Expand Down Expand Up @@ -169,7 +168,7 @@ pScatter3 <- addScatter(x = myTestData$x[females],
plotObject = pScatter1)
```

```{r, echo=FALSE, fig.cap="Left: pScatter1; Middle: pScatter2; Right: pScatter3", fig.width=7.5}
```{r show addScatter, echo=FALSE, fig.cap="Left: pScatter1; Middle: pScatter2; Right: pScatter3", fig.width=7.5}
gridExtra::grid.arrange(pScatter1, pScatter2, pScatter3, ncol=3)
```

Expand Down Expand Up @@ -203,8 +202,14 @@ pLine3 <- addLine(y = c(-1, 1),
plotObject = pLine1)
```

```{r show addLine, echo=FALSE, fig.cap="Left: pLine1; Middle: pLine2; Right: pLine3", fig.width=7.5}
gridExtra::grid.arrange(pLine1, pLine2, pLine3, ncol=3)
```{r pLine1, echo=FALSE, fig.cap="pLine1", fig.width=7.5}
pLine1
```
```{r pLine2, echo=FALSE, fig.cap="pLine2", fig.width=7.5}
pLine2
```
```{r pLine3, echo=FALSE, fig.cap="pLine3", fig.width=7.5}
pLine3
```

# Add ribbon or errorbars to a plot object: *addRibbon*, *addErrorbar*
Expand Down

0 comments on commit 9a5c98b

Please sign in to comment.