Skip to content

Commit

Permalink
typos, wordlist
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Aug 4, 2024
1 parent 3f7af63 commit 1682d4d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 3 additions & 3 deletions R/check_dag.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#' @description The purpose of `check_dag()` is to build, check and visualize
#' your model based on directed acyclic graphs (DAG). The function checks if a
#' model is correctly adjusted for identifying specific relationships of
#' variables, especiall directed (maybe also "causal") effects for given
#' variables, especially directed (maybe also "causal") effects for given
#' exposures on an outcome. It returns a **dagitty** object that can be
#' visualized with `plot()`.
#'
Expand Down Expand Up @@ -46,7 +46,7 @@
#' - Bi-directed paths: Use `~~` to indicate bi-directed paths. For example,
#' `Y ~~ X` indicates that the path between `Y` and `X` is bi-directed, and
#' the arrow points in both directions. Bi-directed paths often indicate
#' unmeasured cause, or umeasured confounding, of the two involved variables.
#' unmeasured cause, or unmeasured confounding, of the two involved variables.
#'
#' @section Why are DAGs important - the Table 2 fallacy:
#'
Expand Down Expand Up @@ -236,7 +236,7 @@ check_dag.default <- function(...,
attr(dag, "check_direct") <- insight::compact_list(checks[[1]])
attr(dag, "check_total") <- insight::compact_list(checks[[2]])

class(dag) <- c(c("check_dag", "see_check_dag"), class(dag))
class(dag) <- c(c("check_dag", "see_check_dag"), class(dag))

dag
}
Expand Down
6 changes: 6 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Chisq
CochransQ
CompQuadForm
Concurvity
Confounder
Cribari
Cronbach's
Crujeiras
Expand Down Expand Up @@ -182,6 +183,7 @@ Raudenbush
Raykov
Revelle
Rodríguez
Rohrer
Rousseeuw
Routledge
SEM
Expand Down Expand Up @@ -224,6 +226,7 @@ Vuong
Vuong's
WAIC
Weisberg
Westreich
Windmeijer
Winsorization
Witten
Expand All @@ -234,6 +237,7 @@ Zavoinas
Zhou
Zomeren
Zuur
acyclic
afex
al
analyse
Expand All @@ -252,6 +256,8 @@ brms
brmsfit
cauchy
clusterable
confounder
confounders
concurvity
dagitty
datawizard
Expand Down
4 changes: 2 additions & 2 deletions 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 1682d4d

Please sign in to comment.