Skip to content

Commit

Permalink
Update wrappers (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
boutinb authored Nov 22, 2023
1 parent b62d40d commit a4a3959
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
6 changes: 5 additions & 1 deletion R/confirmatoryfactoranalysisWrapper.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@

confirmatoryFactorAnalysis <- function(
data = NULL,
version = "0.17.1",
version = "0.18.2",
ave = FALSE,
bartlettTest = FALSE,
bootstrapSamples = 1000,
ciLevel = 0.95,
Expand All @@ -31,7 +32,9 @@ confirmatoryFactorAnalysis <- function(
factorsUncorrelated = FALSE,
fitMeasures = FALSE,
group = "",
htmt = FALSE,
impliedCovarianceMatrix = FALSE,
interceptsFixedToZero = "latent",
invarianceTesting = "configural",
kaiserMeyerOlkinTest = FALSE,
latentInterceptsFixedToZero = TRUE,
Expand All @@ -54,6 +57,7 @@ confirmatoryFactorAnalysis <- function(
plotHeight = 320,
plotWidth = 480,
rSquared = FALSE,
reliability = FALSE,
residualCovarianceMatrix = FALSE,
residualSingleIndicatorOmitted = TRUE,
residualVariances = TRUE,
Expand Down
2 changes: 1 addition & 1 deletion R/exploratoryfactoranalysisWrapper.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

exploratoryFactorAnalysis <- function(
data = NULL,
version = "0.17.1",
version = "0.18.2",
analysisBasedOn = "correlationMatrix",
bartlettTest = FALSE,
eigenValuesAbove = 1,
Expand Down
7 changes: 5 additions & 2 deletions R/principalcomponentanalysisWrapper.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,19 @@

principalComponentAnalysis <- function(
data = NULL,
version = "0.17.1",
version = "0.18.2",
addComponentScores = FALSE,
analysisBasedOn = "correlationMatrix",
bartlettTest = FALSE,
componentCorrelations = FALSE,
componentCountMethod = "parallelAnalysis",
componentLoadingsOrder = "sortByComponentSize",
componentsPrefix = "",
eigenValuesAbove = 1,
kaiserMeyerOlkinTest = FALSE,
loadingsDisplayLimit = 0.4,
manualNumberOfComponents = 1,
mardiaTest = FALSE,
naAction = "pairwise",
obliqueSelector = "promax",
orthogonalSelector = "none",
Expand Down Expand Up @@ -59,4 +62,4 @@ principalComponentAnalysis <- function(
if ((name %in% optionsWithFormula) && inherits(options[[name]], "formula")) options[[name]] = jaspBase::jaspFormula(options[[name]], data) }

return(jaspBase::runWrappedAnalysis("jaspFactor::principalComponentAnalysis", data, options, version))
}
}

0 comments on commit a4a3959

Please sign in to comment.