Skip to content

Commit

Permalink
remaining
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Jun 30, 2024
1 parent e4c9a7c commit c3853cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vignettes/modelbased.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ plot(result)
```{r slopes-poly, echo=TRUE, eval=FALSE}
model <- lm(Petal.Length ~ Species * poly(Sepal.Width, 3), data = iris)
result <- estimate_slopes(model, at = c("Sepal.Width", "Species"))
result <- estimate_slopes(model, by = c("Sepal.Width", "Species"))
plot(result)
```
```{r slopes-poly2, eval=can_evaluate, echo=FALSE}
model <- lm(Petal.Length ~ Species * poly(Sepal.Width, 3), data = iris)
result <- estimate_slopes(model, at = c("Sepal.Width", "Species"))
result <- estimate_slopes(model, by = c("Sepal.Width", "Species"))
suppressWarnings(print(plot(result)))
```

Expand Down

0 comments on commit c3853cc

Please sign in to comment.