Skip to content

Commit

Permalink
Fix covariances between dependent mediator paths
Browse files Browse the repository at this point in the history
  • Loading branch information
maltelueken committed Nov 20, 2023
1 parent f628a9f commit 28e5396
Show file tree
Hide file tree
Showing 115 changed files with 10,706 additions and 10,418 deletions.
5 changes: 3 additions & 2 deletions R/classicProcess.R
Original file line number Diff line number Diff line change
Expand Up @@ -751,8 +751,9 @@ ClassicProcess <- function(jaspResults, dataset = NULL, options) {
# Add vertices and edges for first dependent var
depVars <- igraph::V(graph)[isDep]$name
resCovGraph <- .procCombVars(resCovGraph, depVars[1])

return(resCovGraph)

# Remove edges that are in graph from resCovGraph
return(igraph::difference(resCovGraph, igraph::as.undirected(graph)))
}

.procModelSyntax <- function(jaspResults, options) {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 28e5396

Please sign in to comment.