Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Feb 26, 2025
1 parent 10527de commit ffd29e8
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion R/theme_blackboard.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#' library(see)
#'
#' ggplot(iris, aes(x = Sepal.Width, y = Sepal.Length)) +
#' geom_point(color = "white") +
#' geom_point(color = see_colors("lime")) +
#' theme_blackboard()
#' @export
theme_blackboard <- function(base_size = 11,
Expand Down
2 changes: 1 addition & 1 deletion R/theme_lucid.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#' library(see)
#'
#' ggplot(iris, aes(x = Sepal.Width, y = Sepal.Length)) +
#' geom_point(color = "white") +
#' geom_point(color = pizza_colors("tomato")) +
#' theme_lucid()
#' @export
theme_lucid <- function(base_size = 11,
Expand Down
2 changes: 1 addition & 1 deletion R/theme_modern.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#' library(see)
#'
#' ggplot(iris, aes(x = Sepal.Width, y = Sepal.Length, color = Species)) +
#' geom_point() +
#' geom_point(color = pizza_colors("tomato")) +
#' theme_modern()
#' @export
theme_modern <- function(base_size = 11,
Expand Down
2 changes: 1 addition & 1 deletion man/theme_blackboard.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/theme_lucid.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/theme_modern.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion vignettes/modelbased.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ result <- estimate_expectation(model, data = "grid")
plot(result)
```

```{r}
# full range
result <- estimate_relation(model, by = c("wt", "gear"), preserve_range = FALSE)
plot(result)
```

## Interactions between two continuous variables

```{r np-interval}
Expand Down Expand Up @@ -165,4 +171,3 @@ plots(
n_rows = 2
)
```

0 comments on commit ffd29e8

Please sign in to comment.