Skip to content

Commit

Permalink
remove non-working example
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed May 23, 2024
1 parent 568a5bb commit 9233f1b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
4 changes: 0 additions & 4 deletions R/visualisation_recipe.estimate_means.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
#' data$cyl <- as.factor(data$cyl)
#' data$new_factor <- as.factor(rep(c("A", "B"), length.out = nrow(mtcars)))
#'
#' model <- lm(mpg ~ new_factor * cyl * wt, data = data)
#' x <- estimate_means(model, by = c("new_factor", "cyl"))
#' plot(visualisation_recipe(x))
#'
#' # Modulations --------------
#' x <- estimate_means(model, by = c("new_factor", "wt"))
#' plot(visualisation_recipe(x))
Expand Down
5 changes: 0 additions & 5 deletions R/visualisation_recipe.estimate_predicted.R
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@
#' data$cyl <- as.factor(data$cyl)
#' data$new_factor <- as.factor(rep(c("A", "B"), length.out = nrow(mtcars)))
#'
#' # Numeric * numeric * numeric
#' x <- estimate_relation(lm(mpg ~ wt * qsec * hp, data = data), length = c(5, 3, 20))
#' layers <- visualisation_recipe(x)
#' plot(layers)
#'
#' # Numeric * numeric * factor
#' x <- estimate_relation(lm(mpg ~ wt * am * vs, data = data))
#' layers <- visualisation_recipe(x)
Expand Down
9 changes: 0 additions & 9 deletions man/visualisation_recipe.estimate_predicted.Rd

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

0 comments on commit 9233f1b

Please sign in to comment.