From 42a1d2921233c61407138651ed6c033699620bdc Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 2 Feb 2024 16:03:30 +0100 Subject: [PATCH] fix --- vignettes/performance.Rmd | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/vignettes/performance.Rmd b/vignettes/performance.Rmd index 689b96f46..ab06cb394 100644 --- a/vignettes/performance.Rmd +++ b/vignettes/performance.Rmd @@ -150,25 +150,34 @@ plot(result, type = "bars") _([related function documentation](https://easystats.github.io/performance/reference/check_normality.html))_ ```{r} -model2 <<- lm(mpg ~ wt + cyl + gear + disp, data = mtcars) -result2 <<- check_normality(model2) +model2 <- lm(mpg ~ wt + cyl + gear + disp, data = mtcars) +result2 <- check_normality(model2) ``` ### Density Plot -```{r} +```{r echo=FALSE} +plot(result2, type = "density", data = model2) +``` +```{r eval=FALSE} plot(result2, type = "density") ``` ### QQ Plot -```{r} +```{r echo=FALSE} +plot(result2, type = "qq", data = model2) +``` +```{r eval=FALSE} plot(result2, type = "qq") ``` ### PP Plot -```{r} +```{r echo=FALSE} +plot(result2, type = "pp", data = model2) +``` +```{r eval=FALSE} plot(result2, type = "pp") ```