Skip to content

Commit

Permalink
fix error in calc R Squarded
Browse files Browse the repository at this point in the history
  • Loading branch information
Kss2k committed Dec 8, 2024
1 parent f9cecc6 commit b47e4e0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ warnif <- function(cond, ...) {

# utils for all methods
calcCovParTable <- function(x, y, parTable, measurement.model = FALSE) {
parTable$mod <- as.character(parTable$est)
parTable$mod <- paste0("(", as.character(parTable$est), ")")
parTable <- parTable[c("lhs", "op", "rhs", "mod")]
eval(parse(text = trace_path(parTable, x, y,
measurement.model = measurement.model)))
eval(parse(text = trace_path(parTable, x, y, measurement.model = measurement.model)))
}


Expand Down

0 comments on commit b47e4e0

Please sign in to comment.