set.seed(20191029)
RM_BLS_PLGCM3 <- getMIX(
dat = RMS_dat0, prop_starts = c(0.30, 0.40, 0.30), sub_Model = "MGM",
cluster_TIC = c("gx1", "gx2"), t_var = c("T", "T"), y_var = c("R", "M"),
curveFun = "BLS", intrinsic = FALSE, records = list(1:9, 1:9),
y_model = "LGCM", tries = 10, paramOut = TRUE
)
Figure4 <- getFigure(
model = RM_BLS_PLGCM3@mxOutput, nClass = 3, cluster_TIC = c("gx1", "gx2"),
sub_Model = "MGM", y_var = c("R", "M"), curveFun = "BLS", y_model = "LGCM",
t_var = c("T", "T"), records = list(1:9, 1:9), m_var = NULL, x_var = NULL,
x_type = NULL, xstarts = xstarts, xlab = "Month",
outcome = c("Reading", "Mathematics")
)
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Treating first argument as an object that stores a character
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Treating first argument as an object that stores a character
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Treating first argument as an object that stores a character
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Treating first argument as an object that stores a character
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Treating first argument as an object that stores a character
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Treating first argument as an object that stores a character
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
#> Warning in warnModelCreatedByOldVersion(model): You are using OpenMx version
#> 2.22.11 with a model created by OpenMx version 2.21.8. This may work fine
#> (fingers crossed), but if you run into trouble then please recreate your model
#> with the current version of OpenMx.
show(Figure4)
#> figOutput Object
#> --------------------
#> Trajectories: 2
#>
#> Trajectory 1 :
#> Figure 1:
#> `geom_smooth()` using method = 'gam' and formula = 'y ~ s(x, bs = "cs")'