checkRd: (-1) lcMethodMixAK_GLMM.Rd:47: Escaped LaTeX specials: \&
checkRd: (-1) lcMethodMixAK_GLMM.Rd:47: Escaped LaTeX specials: \&
Running examples in ‘latrend-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: confusionMatrix
> ### Title: Compute the posterior confusion matrix
> ### Aliases: confusionMatrix
> 
> ### ** Examples
> 
> data(latrendData)
> 
> if (rlang::is_installed("lcmm")) {
+   method <- lcMethodLcmmGMM(
+     fixed = Y ~ Time,
+     mixture = ~ Time,
+     random = ~ 1,
+     id = "Id",
+     time = "Time"
+   )
+   model <- latrend(method, latrendData)
+   confusionMatrix(model)
+ }
---------------------------------------------------------------------------
- Longitudinal clustering using: growth mixture model
---------------------------------------------------------------------------
Method arguments:
 mixture:        ~Time
 random:         ~1
 classmb:        ~1
 time:           "Time"
 id:             "Id"
 init:           "default"
 nClusters:      2
 idiag:          FALSE
 nwg:            FALSE
 cor:            NULL
 convB:          1e-04
 convL:          1e-04
 convG:          1e-04
 pprior:         NULL
 maxiter:        500
 na.action:      1
 posfix:         NULL
 var.time:       NULL
 partialH:       FALSE
 nproc:          1
 clustertype:    NULL
 fixed:          Y ~ Time
---------------------------------------------------------------------------
Checking and transforming the training data format.
Preparing the training data for fitting...
Fitting the method...
Error in (function (fixed, mixture, random, subject, classmb, ng = 1,  : 
  Please specify initial values with argument 'B'
Calls: latrend ... suppressFun -> fit -> fit -> gmm_fit -> do.call -> <Anonymous>
Execution halted
Namespace in Imports field not imported from: ‘rmarkdown’
  All declared Imports should be used.
checkRd: (-1) lcMethodMixAK_GLMM.Rd:47: Escaped LaTeX specials: \&
Running examples in ‘latrend-Ex.R’ failed
The error most likely occurred in:

> ### Name: confusionMatrix
> ### Title: Compute the posterior confusion matrix
> ### Aliases: confusionMatrix
> 
> ### ** Examples
> 
> data(latrendData)
> 
> if (rlang::is_installed("lcmm")) {
+   method <- lcMethodLcmmGMM(
+     fixed = Y ~ Time,
+     mixture = ~ Time,
+     random = ~ 1,
+     id = "Id",
+     time = "Time"
+   )
+   model <- latrend(method, latrendData)
+   confusionMatrix(model)
+ }
---------------------------------------------------------------------------
- Longitudinal clustering using: growth mixture model
---------------------------------------------------------------------------
Method arguments:
 mixture:        ~Time
 random:         ~1
 classmb:        ~1
 time:           "Time"
 id:             "Id"
 init:           "default"
 nClusters:      2
 idiag:          FALSE
 nwg:            FALSE
 cor:            NULL
 convB:          1e-04
 convL:          1e-04
 convG:          1e-04
 pprior:         NULL
 maxiter:        500
 na.action:      1
 posfix:         NULL
 var.time:       NULL
 partialH:       FALSE
 nproc:          1
 clustertype:    NULL
 fixed:          Y ~ Time
---------------------------------------------------------------------------
Checking and transforming the training data format.
Preparing the training data for fitting...
Fitting the method...
Error in (function (fixed, mixture, random, subject, classmb, ng = 1,  : 
  Please specify initial values with argument 'B'
Calls: latrend ... suppressFun -> fit -> fit -> gmm_fit -> do.call -> <Anonymous>
Execution halted
Namespace in Imports field not imported from: ‘rmarkdown’
  All declared Imports should be used.
checkRd: (-1) lcMethodMixAK_GLMM.Rd:47: Escaped LaTeX specials: \&
Running examples in ‘latrend-Ex.R’ failed
The error most likely occurred in:

> ### Name: confusionMatrix
> ### Title: Compute the posterior confusion matrix
> ### Aliases: confusionMatrix
> 
> ### ** Examples
> 
> data(latrendData)
> 
> if (rlang::is_installed("lcmm")) {
+   method <- lcMethodLcmmGMM(
+     fixed = Y ~ Time,
+     mixture = ~ Time,
+     random = ~ 1,
+     id = "Id",
+     time = "Time"
+   )
+   model <- latrend(method, latrendData)
+   confusionMatrix(model)
+ }
---------------------------------------------------------------------------
- Longitudinal clustering using: growth mixture model
---------------------------------------------------------------------------
Method arguments:
 mixture:        ~Time
 random:         ~1
 classmb:        ~1
 time:           "Time"
 id:             "Id"
 init:           "default"
 nClusters:      2
 idiag:          FALSE
 nwg:            FALSE
 cor:            NULL
 convB:          1e-04
 convL:          1e-04
 convG:          1e-04
 pprior:         NULL
 maxiter:        500
 na.action:      1
 posfix:         NULL
 var.time:       NULL
 partialH:       FALSE
 nproc:          1
 clustertype:    NULL
 fixed:          Y ~ Time
---------------------------------------------------------------------------
Checking and transforming the training data format.
Preparing the training data for fitting...
Fitting the method...
Error in (function (fixed, mixture, random, subject, classmb, ng = 1,  : 
  Please specify initial values with argument 'B'
Calls: latrend ... suppressFun -> fit -> fit -> gmm_fit -> do.call -> <Anonymous>
Execution halted
checkRd: (-1) lcMethodMixAK_GLMM.Rd:47: Escaped LaTeX specials: \&
Running examples in ‘latrend-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: confusionMatrix
> ### Title: Compute the posterior confusion matrix
> ### Aliases: confusionMatrix
> 
> ### ** Examples
> 
> data(latrendData)
> 
> if (rlang::is_installed("lcmm")) {
+   method <- lcMethodLcmmGMM(
+     fixed = Y ~ Time,
+     mixture = ~ Time,
+     random = ~ 1,
+     id = "Id",
+     time = "Time"
+   )
+   model <- latrend(method, latrendData)
+   confusionMatrix(model)
+ }
---------------------------------------------------------------------------
- Longitudinal clustering using: growth mixture model
---------------------------------------------------------------------------
Method arguments:
 mixture:        ~Time
 random:         ~1
 classmb:        ~1
 time:           "Time"
 id:             "Id"
 init:           "default"
 nClusters:      2
 idiag:          FALSE
 nwg:            FALSE
 cor:            NULL
 convB:          1e-04
 convL:          1e-04
 convG:          1e-04
 pprior:         NULL
 maxiter:        500
 na.action:      1
 posfix:         NULL
 var.time:       NULL
 partialH:       FALSE
 nproc:          1
 clustertype:    NULL
 fixed:          Y ~ Time
---------------------------------------------------------------------------
Checking and transforming the training data format.
Preparing the training data for fitting...
Fitting the method...
Error in (function (fixed, mixture, random, subject, classmb, ng = 1,  : 
  Please specify initial values with argument 'B'
Calls: latrend ... suppressFun -> fit -> fit -> gmm_fit -> do.call -> <Anonymous>
Execution halted
Running examples in ‘latrend-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: confusionMatrix
> ### Title: Compute the posterior confusion matrix
> ### Aliases: confusionMatrix
> 
> ### ** Examples
> 
> data(latrendData)
> 
> if (rlang::is_installed("lcmm")) {
+   method <- lcMethodLcmmGMM(
+     fixed = Y ~ Time,
+     mixture = ~ Time,
+     random = ~ 1,
+     id = "Id",
+     time = "Time"
+   )
+   model <- latrend(method, latrendData)
+   confusionMatrix(model)
+ }
---------------------------------------------------------------------------
- Longitudinal clustering using: growth mixture model
---------------------------------------------------------------------------
Method arguments:
 mixture:        ~Time
 random:         ~1
 classmb:        ~1
 time:           "Time"
 id:             "Id"
 init:           "default"
 nClusters:      2
 idiag:          FALSE
 nwg:            FALSE
 cor:            NULL
 convB:          1e-04
 convL:          1e-04
 convG:          1e-04
 pprior:         NULL
 maxiter:        500
 na.action:      1
 posfix:         NULL
 var.time:       NULL
 partialH:       FALSE
 nproc:          1
 clustertype:    NULL
 fixed:          Y ~ Time
---------------------------------------------------------------------------
Checking and transforming the training data format.
Preparing the training data for fitting...
Fitting the method...
Error in (function (fixed, mixture, random, subject, classmb, ng = 1,  : 
  Please specify initial values with argument 'B'
Calls: latrend ... suppressFun -> fit -> fit -> gmm_fit -> do.call -> <Anonymous>
Execution halted
Package suggested but not available for checking: ‘mixAK’
Namespace in Imports field not imported from: ‘rmarkdown’
  All declared Imports should be used.
Package unavailable to check Rd xrefs: ‘mixAK’
Package suggested but not available for checking: ‘mixAK’
Namespace in Imports field not imported from: ‘rmarkdown’
  All declared Imports should be used.
Package unavailable to check Rd xrefs: ‘mixAK’
Package suggested but not available for checking: ‘mixAK’
Namespace in Imports field not imported from: ‘rmarkdown’
  All declared Imports should be used.
Package unavailable to check Rd xrefs: ‘mixAK’
Package suggested but not available for checking: ‘mixAK’
Namespace in Imports field not imported from: ‘rmarkdown’
  All declared Imports should be used.
Package unavailable to check Rd xrefs: ‘mixAK’