Contributing to modsem
- Source:CONTRIBUTING.md
+
MIT License
- Source:LICENSE.md
+
customizing interaction terms
- Source:vignettes/customizing.Rmd
+
customizing.Rmd
library(modsem)
By default, modsem()
creates product indicators for you
based on the interaction specified in your model. Behind the scenes,
modsem()
generates a total of 9 variables (product
diff --git a/articles/higher_order_interactions.html b/articles/higher_order_interactions.html
index d2eff6c..0da3c2e 100644
--- a/articles/higher_order_interactions.html
+++ b/articles/higher_order_interactions.html
@@ -50,7 +50,6 @@
higher order interactions
- Source:vignettes/higher_order_interactions.Rmd
+
higher_order_interactions.Rmd
library(modsem)
As of yet, the modsem
package does not support using the
interaction operator :
between two higher order constructs.
However, you can still attempt to estimate the interaction effect
diff --git a/articles/index.html b/articles/index.html
index 9a492d5..797a14c 100644
--- a/articles/index.html
+++ b/articles/index.html
@@ -31,7 +31,6 @@
interaction effects between endogenous variables
- Source:vignettes/interaction_two_etas.Rmd
+
interaction_two_etas.Rmd
library(modsem)
The Problem
diff --git a/articles/lavaan.html b/articles/lavaan.html index b618945..e6dcd6d 100644 --- a/articles/lavaan.html +++ b/articles/lavaan.html @@ -50,7 +50,6 @@ -using lavaan functions
- Source:vignettes/lavaan.Rmd
+
lavaan.Rmd
library(modsem)
If you’re using one of the product indicator approaches, you might want to use some lavaan functions on top of the estimated lavaan-object. To do so you can extract the lavaan-object using the diff --git a/articles/lms_qml.html b/articles/lms_qml.html index d73d414..a06d2ea 100644 --- a/articles/lms_qml.html +++ b/articles/lms_qml.html @@ -50,7 +50,6 @@
-LMS and QML approaches
- Source:vignettes/lms_qml.Rmd
+
lms_qml.Rmd
library(modsem)
The Latent Moderated Structural Equations (LMS) and the Quasi
Maximum Likelihood (QML) Approach
@@ -98,7 +97,7 @@ A Simple Example
-library(modsem)
+library(modsem)
m1 <- '
# Outer Model
X =~ x1
diff --git a/articles/methods.html b/articles/methods.html
index 19eb25e..a75df08 100644
--- a/articles/methods.html
+++ b/articles/methods.html
@@ -50,7 +50,6 @@
-
@@ -67,14 +66,14 @@
methods
- Source: vignettes/methods.Rmd
+
methods.Rmd
-library(modsem)
+library(modsem)
m1 <- '
# Outer Model
X =~ x1
diff --git a/articles/methods.html b/articles/methods.html
index 19eb25e..a75df08 100644
--- a/articles/methods.html
+++ b/articles/methods.html
@@ -50,7 +50,6 @@
-
methods
- Source:vignettes/methods.Rmd
+
methods.Rmd
library(modsem)
There are a number of approaches for estimating interaction effects
in SEM. In modsem()
, the method = "method"
argument allows you to choose which to use. Different approaches can be
diff --git a/articles/modsem.html b/articles/modsem.html
index ccc9822..d4b533f 100644
--- a/articles/modsem.html
+++ b/articles/modsem.html
@@ -50,7 +50,6 @@
modsem
- Source:vignettes/modsem.Rmd
+
modsem.Rmd
library(modsem)
The Basic Syntax
diff --git a/articles/observed_lms_qml.html b/articles/observed_lms_qml.html index 5636da2..f5a3a57 100644 --- a/articles/observed_lms_qml.html +++ b/articles/observed_lms_qml.html @@ -50,7 +50,6 @@ -observed variables in the LMS- and QML approach
- Source:vignettes/observed_lms_qml.Rmd
+
observed_lms_qml.Rmd
library(modsem)
The Latent Moderated Structural Equations (LMS) and the Quasi
Maximum Likelihood (QML) Approach
@@ -121,7 +120,7 @@ The LMS Approach"x1 ~~ 0.1 * x1") for the indicator of the first variable
in the interaction term.
-library(modsem)
+library(modsem)
# Interaction effect between a latent and an observed variable
m1 <- '
diff --git a/articles/plot_interactions.html b/articles/plot_interactions.html
index 888634d..482cc8b 100644
--- a/articles/plot_interactions.html
+++ b/articles/plot_interactions.html
@@ -50,7 +50,6 @@
-
@@ -67,14 +66,14 @@
plotting interaction effects
- Source: vignettes/plot_interactions.Rmd
+
plot_interactions.Rmd
-library(modsem)
+library(modsem)
# Interaction effect between a latent and an observed variable
m1 <- '
diff --git a/articles/plot_interactions.html b/articles/plot_interactions.html
index 888634d..482cc8b 100644
--- a/articles/plot_interactions.html
+++ b/articles/plot_interactions.html
@@ -50,7 +50,6 @@
-
plotting interaction effects
- Source:vignettes/plot_interactions.Rmd
+
plot_interactions.Rmd
library(modsem)
Plotting Interaction Effects
diff --git a/articles/quadratic.html b/articles/quadratic.html index 721600d..864a301 100644 --- a/articles/quadratic.html +++ b/articles/quadratic.html @@ -50,7 +50,6 @@ -quadratic effects
- Source:vignettes/quadratic.Rmd
+
quadratic.Rmd
library(modsem)
Quadratic Effects and Interaction Effects
@@ -84,7 +83,7 @@Quadratic Effects and Interac effects.
Below is a simple example using the LMS
approach.
-library(modsem)
+library(modsem)
m1 <- '
# Outer Model
X =~ x1 + x2 + x3
diff --git a/authors.html b/authors.html
index ef6c31c..773608b 100644
--- a/authors.html
+++ b/authors.html
@@ -31,7 +31,6 @@
Authors
Citation
-Source: inst/CITATION
Slupphaug, K. S., Mehmetoglu, M., & Mittner, M. (2024). modsem: An R package for estimating latent interactions and quadratic effects. https://doi.org/10.31219/osf.io/h3rpw
@Article{, diff --git a/index.html b/index.html index 46d47e1..f1acef6 100644 --- a/index.html +++ b/index.html @@ -52,7 +52,6 @@-
Examples
Elementary Interaction Model (Kenny & Judd, 1984; Jaccard & Wan, 1995)
-library(modsem)
+library(modsem)
m1 <- '
# Outer Model
X =~ x1 + x2 +x3
@@ -218,7 +217,6 @@ Interaction betw
Links
library(modsem)
+library(modsem)
m1 <- '
# Outer Model
X =~ x1 + x2 +x3
@@ -218,7 +217,6 @@ Interaction betw
Links
default arguments fro LMS and QML approach
- Source:R/method_settings_da.R
+
default_settings_da.Rd
Value
Examples
-library(modsem)
+ library(modsem)
default_settings_da()
#> $lms
#> $lms$verbose
diff --git a/reference/default_settings_pi.html b/reference/default_settings_pi.html
index ffea3e7..222d83e 100644
--- a/reference/default_settings_pi.html
+++ b/reference/default_settings_pi.html
@@ -31,7 +31,6 @@
@@ -41,7 +40,7 @@
default arguments for product indicator approaches
- Source: R/method_settings_pi.R
+
default_settings_pi.Rd
@@ -69,7 +68,7 @@ Value
Examples
- library(modsem)
+ library(modsem)
default_settings_pi()
#> $rca
#> $rca$center.before
diff --git a/reference/extract_lavaan.html b/reference/extract_lavaan.html
index 68db996..73d1fb3 100644
--- a/reference/extract_lavaan.html
+++ b/reference/extract_lavaan.html
@@ -31,7 +31,6 @@
@@ -41,7 +40,7 @@
extract lavaan object from modsem object estimated using product indicators
- Source: R/modsem_pi.R
+
extract_lavaan.Rd
@@ -69,7 +68,7 @@ Value
Examples
- library(modsem)
+ library(modsem)
m1 <- '
# Outer Model
X =~ x1 + x2 + x3
diff --git a/reference/fit_modsem_da.html b/reference/fit_modsem_da.html
index 5b9ae83..9605c71 100644
--- a/reference/fit_modsem_da.html
+++ b/reference/fit_modsem_da.html
@@ -35,7 +35,6 @@
@@ -45,7 +44,7 @@
diff --git a/reference/get_pi_data.html b/reference/get_pi_data.html
index 9699adb..85851f1 100644
--- a/reference/get_pi_data.html
+++ b/reference/get_pi_data.html
@@ -33,7 +33,6 @@
@@ -43,7 +42,7 @@
@@ -93,7 +92,7 @@ Value
Examples
- library(modsem)
+ library(modsem)
library(lavaan)
#> This is lavaan 0.6-19
#> lavaan is FREE software! Please report any bugs.
diff --git a/reference/get_pi_syntax.html b/reference/get_pi_syntax.html
index e859533..9fdf6f7 100644
--- a/reference/get_pi_syntax.html
+++ b/reference/get_pi_syntax.html
@@ -33,7 +33,6 @@
@@ -43,7 +42,7 @@
@@ -89,7 +88,7 @@ Value
Examples
- library(modsem)
+
diff --git a/reference/jordan.html b/reference/jordan.html
index ba47ea2..df4f6d2 100644
--- a/reference/jordan.html
+++ b/reference/jordan.html
@@ -43,7 +43,6 @@
@@ -53,7 +52,7 @@
diff --git a/reference/modsem-package.html b/reference/modsem-package.html
index dd15be5..f35868d 100644
--- a/reference/modsem-package.html
+++ b/reference/modsem-package.html
@@ -45,7 +45,6 @@
@@ -55,7 +54,7 @@
modsem: Latent Interaction (and Moderation) Analysis in Structural Equation Models (SEM)
- Source: R/modsem-package.R
+
modsem-package.Rd
@@ -73,7 +72,7 @@ modsem: Latent Interaction (and Moderation) Analysis in Structural Equation
See also
- Useful links:
+ Useful links:
diff --git a/reference/modsem.html b/reference/modsem.html
index d1d0f6b..73dbca2 100644
--- a/reference/modsem.html
+++ b/reference/modsem.html
@@ -57,7 +57,6 @@
@@ -67,7 +66,7 @@
Estimate interaction effects in structural equation models (SEMs)
- Source: R/modsem-package.R
, R/modsem.R
+
modsem.Rd
@@ -127,7 +126,7 @@ Value
Examples
- library(modsem)
+ library(modsem)
# For more examples, check README and/or GitHub.
# One interaction
m1 <- '
diff --git a/reference/modsem_da.html b/reference/modsem_da.html
index d36ace9..fbf5fef 100644
--- a/reference/modsem_da.html
+++ b/reference/modsem_da.html
@@ -49,7 +49,6 @@
@@ -59,7 +58,7 @@
Interaction between latent variables using lms and qml approaches
- Source: R/modsem_da.R
+
modsem_da.Rd
@@ -274,7 +273,7 @@ Value
Examples
- library(modsem)
+ library(modsem)
# For more examples, check README and/or GitHub.
# One interaction
m1 <- "
diff --git a/reference/modsem_inspect.html b/reference/modsem_inspect.html
index e20d41d..5d967ff 100644
--- a/reference/modsem_inspect.html
+++ b/reference/modsem_inspect.html
@@ -33,7 +33,6 @@
@@ -43,7 +42,7 @@
diff --git a/reference/modsem_mplus.html b/reference/modsem_mplus.html
index 5222f01..589af38 100644
--- a/reference/modsem_mplus.html
+++ b/reference/modsem_mplus.html
@@ -31,7 +31,6 @@
@@ -41,7 +40,7 @@
diff --git a/reference/modsem_pi.html b/reference/modsem_pi.html
index 19c717c..fee187f 100644
--- a/reference/modsem_pi.html
+++ b/reference/modsem_pi.html
@@ -49,7 +49,6 @@
@@ -59,7 +58,7 @@
Interaction between latent variables using product indicators
- Source: R/modsem_pi.R
+
modsem_pi.Rd
@@ -213,7 +212,7 @@ Value
Examples
- library(modsem)
+ library(modsem)
# For more examples, check README and/or GitHub.
# One interaction
m1 <- '
diff --git a/reference/modsemify.html b/reference/modsemify.html
index 0d6b571..5d9f6a9 100644
--- a/reference/modsemify.html
+++ b/reference/modsemify.html
@@ -31,7 +31,6 @@
@@ -41,7 +40,7 @@
@@ -69,7 +68,7 @@ Value
Examples
- library(modsem)
+ library(modsem)
m1 <- '
# Outer Model
X =~ x1 + x2 +x3
diff --git a/reference/multiplyIndicatorsCpp.html b/reference/multiplyIndicatorsCpp.html
index 5496cbf..2630e49 100644
--- a/reference/multiplyIndicatorsCpp.html
+++ b/reference/multiplyIndicatorsCpp.html
@@ -31,7 +31,6 @@
@@ -41,7 +40,7 @@
diff --git a/reference/oneInt.html b/reference/oneInt.html
index c7b8ddb..fa16d9b 100644
--- a/reference/oneInt.html
+++ b/reference/oneInt.html
@@ -31,7 +31,6 @@
@@ -41,7 +40,7 @@
diff --git a/reference/parameter_estimates.html b/reference/parameter_estimates.html
index 3a961bf..ccb63de 100644
--- a/reference/parameter_estimates.html
+++ b/reference/parameter_estimates.html
@@ -31,7 +31,6 @@
@@ -41,7 +40,7 @@
diff --git a/reference/plot_interaction.html b/reference/plot_interaction.html
index 684f25e..8c035ef 100644
--- a/reference/plot_interaction.html
+++ b/reference/plot_interaction.html
@@ -31,7 +31,6 @@
@@ -41,7 +40,7 @@
@@ -113,7 +112,7 @@ Value
Examples
- library(modsem)
+ library(modsem)
if (FALSE) { # \dontrun{
m1 <- "
# Outer Model
diff --git a/reference/standardized_estimates.html b/reference/standardized_estimates.html
index 2f4e3d4..15466a1 100644
--- a/reference/standardized_estimates.html
+++ b/reference/standardized_estimates.html
@@ -31,7 +31,6 @@
@@ -41,7 +40,7 @@
diff --git a/reference/summary.html b/reference/summary.html
index 480dc97..6db5b3b 100644
--- a/reference/summary.html
+++ b/reference/summary.html
@@ -35,7 +35,6 @@
@@ -45,7 +44,7 @@
summary for modsem objects
- Source: R/generics_modsem_da.R
, R/generics_modsem_mplus.R
, R/generics_modsem_pi.R
+
summary.Rd
diff --git a/reference/trace_path.html b/reference/trace_path.html
index c6d1ba2..065e660 100644
--- a/reference/trace_path.html
+++ b/reference/trace_path.html
@@ -39,7 +39,6 @@
@@ -49,7 +48,7 @@
Estimate formulas for (co-)variance paths using Wright's path tracing rules
- Source: R/trace_paths_wright.R
+
trace_path.Rd
@@ -118,7 +117,7 @@ Value
Examples
- library(modsem)
+ library(modsem)
m1 <- '
# Outer Model
X =~ x1 + x2 +x3
diff --git a/reference/var_interactions.html b/reference/var_interactions.html
index bc24647..c7bd4fe 100644
--- a/reference/var_interactions.html
+++ b/reference/var_interactions.html
@@ -31,7 +31,6 @@
@@ -41,7 +40,7 @@
Extract or modify parTable from an estimated model with estimated variances of interaction terms
- Source: R/generics.R
+
var_interactions.Rd
diff --git a/reference/vcov_modsem_da.html b/reference/vcov_modsem_da.html
index 20b8d11..8b27d95 100644
--- a/reference/vcov_modsem_da.html
+++ b/reference/vcov_modsem_da.html
@@ -33,7 +33,6 @@
@@ -43,7 +42,7 @@