Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Aug 3, 2024
1 parent 76818db commit dd024fb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion R/check_dag.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,17 @@
#' plot(dag)
#'
#' # After adjusting for `b`, the model is correctly specified
#' check_dag(
#' dag <- check_dag(
#' y ~ x + b + c,
#' x ~ b,
#' outcome = "y",
#' exposure = "x",
#' adjusted = "b"
#' )
#' dag
#'
#' # Objects returned by `check_dag()` can be used with "ggdag" or "dagitty"
#' ggdag::ggdag_status(dag)
#' @export
check_dag <- function(...,
outcome = NULL,
Expand Down
6 changes: 5 additions & 1 deletion man/check_dag.Rd

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

0 comments on commit dd024fb

Please sign in to comment.