From 2ad1d616ec8c48314ed233a2335bda23d3904188 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 3 Aug 2024 19:34:28 +0200 Subject: [PATCH] docs --- R/plot.check_dag.R | 3 +++ man/plot.see_check_dag.Rd | 3 +++ 2 files changed, 6 insertions(+) diff --git a/R/plot.check_dag.R b/R/plot.check_dag.R index 67809ece2..8d91f5185 100644 --- a/R/plot.check_dag.R +++ b/R/plot.check_dag.R @@ -23,6 +23,9 @@ #' ) #' dag #' plot(dag) +#' +#' # plot only model with required adjustments +#' plot(dag, which = "required") #' @export plot.see_check_dag <- function(x, size_point = 15, colors = NULL, which = "all", ...) { .data <- NULL diff --git a/man/plot.see_check_dag.Rd b/man/plot.see_check_dag.Rd index 829ac91a8..5866cba81 100644 --- a/man/plot.see_check_dag.Rd +++ b/man/plot.see_check_dag.Rd @@ -37,5 +37,8 @@ dag <- check_dag( ) dag plot(dag) + +# plot only model with required adjustments +plot(dag, which = "required") \dontshow{\}) # examplesIf} }