Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
juliuspfadt committed Nov 5, 2023
1 parent e26c90b commit 350ec6c
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions R/confirmatoryfactoranalysis.R
Original file line number Diff line number Diff line change
Expand Up @@ -214,31 +214,6 @@ confirmatoryFactorAnalysisInternal <- function(jaspResults, dataset, options, ..
ifelse(options$naAction == "twoStage", "two.stage", options$naAction))
))

# cfaResult[["lav"]] <- try(lavaan::lavaan(
# model = mod,
# data = dataset,
# group = grp,
# group.equal = geq,
# meanstructure = options$meanStructure,
# se = cfaResult[["spec"]]$se,
# std.lv = options$modelIdentification == "factorVariance",
# auto.fix.first = options$modelIdentification == "markerVariable",
# orthogonal = options$factorsUncorrelated,
# effect.coding = ifelse(options$modelIdentification == "effectsCoding", "loadings", FALSE),
# int.ov.free = TRUE,
# int.lv.free = FALSE,
# auto.fix.single = TRUE,
# auto.var = TRUE,
# auto.cov.lv.x = TRUE,
# auto.th = TRUE,
# auto.delta = TRUE,
# auto.cov.y = TRUE,
# mimic = options$packageMimiced,
# estimator = estimator,
# missing = ifelse(options$naAction == "twoStageRobust", "robust.two.stage",
# ifelse(options$naAction == "twoStage", "two.stage", options$naAction))
# ))

# are there ordered variables in the data?
cfaResult[["orderedVariables"]] <- any(sapply(dataset, is.ordered))

Expand Down

0 comments on commit 350ec6c

Please sign in to comment.