Skip to content

Commit

Permalink
specifying namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jhorzek committed Aug 25, 2023
1 parent 099271c commit d7f9be2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/get_individual_algebra_results.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ get_individual_algebra_results <- function(mxModel,
utils::setTxtProgressBar(pb = pb,
value = it)

algebra_result_i <- mxEvalByName(name = algebra_name,
model = mxModel,
compute = TRUE,
defvar.row = i)
algebra_result_i <- OpenMx::mxEvalByName(name = algebra_name,
model = mxModel,
compute = TRUE,
defvar.row = i)
if((nrow(algebra_result_i) != 1) |
(ncol(algebra_result_i) != 1))
stop("This function cannot handle algebras with non-scalar outcomes.")
Expand Down

0 comments on commit d7f9be2

Please sign in to comment.