diff --git a/README.Rmd b/README.Rmd
index 4cead12..3a7fee5 100644
--- a/README.Rmd
+++ b/README.Rmd
@@ -8,11 +8,11 @@ knitr::opts_chunk$set(
echo = TRUE,
warning = FALSE,
message = FALSE,
- fig.path = "vignettes/figures/readme-"
+ fig.path = "inst/figures/readme-"
)
```
-# ggResidpanel
+# ggResidpanel
[](https://CRAN.R-project.org/package=ggResidpanel)
@@ -98,7 +98,7 @@ This function creates interactive versions of residual diagnostic plot panels gi
resid_interact(penguin_model)
```
-
+
#### `resid_xpanel`
diff --git a/README.md b/README.md
index 3a372b4..be9a3cc 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-# ggResidpanel
+# ggResidpanel
@@ -98,7 +98,7 @@ penguin_model <- lme4::lmer(heartrate ~ depth + duration + (1|bird), data = peng
resid_panel(penguin_model)
```
-
+
``` r
# Create a pancel with residual, qq, and yvp plots, add 95% confidence interval
@@ -107,14 +107,14 @@ resid_panel(penguin_model, plots = c("resid", "qq", "yvp"),
qqbands = TRUE, theme = "classic")
```
-
+
``` r
# Create a panel with all plots available for a model fit using lmer
resid_panel(penguin_model, plots = "all")
```
-
+
#### `resid_interact`
@@ -128,7 +128,7 @@ their own panel by selecting from the plots available for this function.
resid_interact(penguin_model)
```
-
+
#### `resid_xpanel`
@@ -140,14 +140,14 @@ variable versus the predictor (x) variables in the model.
resid_xpanel(penguin_model, jitter.width = 0.1)
```
-
+
``` r
# Create a panel of plots of the response variable versus the predictor variables
resid_xpanel(penguin_model, yvar = "response", jitter.width = 0.1)
```
-
+
#### `resid_compare`
@@ -165,7 +165,7 @@ penguin_model_log2 <- lme4::lmer(log(heartrate) ~ depth + duration + I(duration^
resid_compare(list(penguin_model, penguin_model_log2), plots = c("resid", "qq"))
```
-
+
#### `resid_auxpanel`
@@ -190,4 +190,4 @@ resid_auxpanel(residuals = penguin_tree_resid,
plots = c("resid", "index"))
```
-
+
diff --git a/vignettes/figures/interact.gif b/inst/figures/interact.gif
similarity index 100%
rename from vignettes/figures/interact.gif
rename to inst/figures/interact.gif
diff --git a/vignettes/figures/logo.png b/inst/figures/logo.png
similarity index 100%
rename from vignettes/figures/logo.png
rename to inst/figures/logo.png
diff --git a/vignettes/figures/readme-unnamed-chunk-4-1.png b/inst/figures/readme-unnamed-chunk-4-1.png
similarity index 100%
rename from vignettes/figures/readme-unnamed-chunk-4-1.png
rename to inst/figures/readme-unnamed-chunk-4-1.png
diff --git a/vignettes/figures/readme-unnamed-chunk-4-2.png b/inst/figures/readme-unnamed-chunk-4-2.png
similarity index 100%
rename from vignettes/figures/readme-unnamed-chunk-4-2.png
rename to inst/figures/readme-unnamed-chunk-4-2.png
diff --git a/vignettes/figures/readme-unnamed-chunk-4-3.png b/inst/figures/readme-unnamed-chunk-4-3.png
similarity index 100%
rename from vignettes/figures/readme-unnamed-chunk-4-3.png
rename to inst/figures/readme-unnamed-chunk-4-3.png
diff --git a/inst/figures/readme-unnamed-chunk-6-1.png b/inst/figures/readme-unnamed-chunk-6-1.png
new file mode 100644
index 0000000..49cdea8
Binary files /dev/null and b/inst/figures/readme-unnamed-chunk-6-1.png differ
diff --git a/inst/figures/readme-unnamed-chunk-6-2.png b/inst/figures/readme-unnamed-chunk-6-2.png
new file mode 100644
index 0000000..ac1fe5c
Binary files /dev/null and b/inst/figures/readme-unnamed-chunk-6-2.png differ
diff --git a/vignettes/figures/readme-unnamed-chunk-7-1.png b/inst/figures/readme-unnamed-chunk-7-1.png
similarity index 100%
rename from vignettes/figures/readme-unnamed-chunk-7-1.png
rename to inst/figures/readme-unnamed-chunk-7-1.png
diff --git a/vignettes/figures/readme-unnamed-chunk-8-1.png b/inst/figures/readme-unnamed-chunk-8-1.png
similarity index 100%
rename from vignettes/figures/readme-unnamed-chunk-8-1.png
rename to inst/figures/readme-unnamed-chunk-8-1.png
diff --git a/vignettes/figures/readme-unnamed-chunk-6-1.png b/vignettes/figures/readme-unnamed-chunk-6-1.png
deleted file mode 100644
index 49de18a..0000000
Binary files a/vignettes/figures/readme-unnamed-chunk-6-1.png and /dev/null differ
diff --git a/vignettes/figures/readme-unnamed-chunk-6-2.png b/vignettes/figures/readme-unnamed-chunk-6-2.png
deleted file mode 100644
index 9e0b670..0000000
Binary files a/vignettes/figures/readme-unnamed-chunk-6-2.png and /dev/null differ