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} }