diff --git a/articles/simulation.html b/articles/simulation.html index 576f1e36..9d7b91af 100644 --- a/articles/simulation.html +++ b/articles/simulation.html @@ -338,9 +338,9 @@

Evaluating the settings#> Number of data generating functions: 8 #> Number of analyzing procedures: 6 #> Number of replications: 1 -#> Estimated replications per hour: 261 -#> Start of the simulation: 2024-05-15 09:38:19.472667 -#> End of the simulation: 2024-05-15 09:38:33.245555 +#> Estimated replications per hour: 266 +#> Start of the simulation: 2024-05-15 09:44:45.583281 +#> End of the simulation: 2024-05-15 09:44:59.083523

Analyzing the results diff --git a/pkgdown.yml b/pkgdown.yml index d86492a2..b6afcbb8 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -5,5 +5,5 @@ articles: demo: demo.html implement: implement.html simulation: simulation.html -last_built: 2024-05-15T09:36Z +last_built: 2024-05-15T09:42Z diff --git a/reference/Rplot002.png b/reference/Rplot002.png index 3ef45a5f..96c0f07a 100644 Binary files a/reference/Rplot002.png and b/reference/Rplot002.png differ diff --git a/reference/as.list.lcMethod.html b/reference/as.list.lcMethod.html index 8294258e..03a89636 100644 --- a/reference/as.list.lcMethod.html +++ b/reference/as.list.lcMethod.html @@ -136,13 +136,13 @@

Examples

#> { #> mean(x, ..., na.rm = TRUE) #> } -#> <bytecode: 0x555ad007c5d0> +#> <bytecode: 0x561048b0f700> #> <environment: namespace:latrend> #> #> $standardize #> function (x, center = TRUE, scale = TRUE) #> UseMethod("scale") -#> <bytecode: 0x555ad00aaeb8> +#> <bytecode: 0x561048b41c58> #> <environment: namespace:base> #> #> $method @@ -174,7 +174,7 @@

Examples

#> #> $formula #> Y ~ Time -#> <environment: 0x555ad02a4d48> +#> <environment: 0x561048d38fc0> #> as.list(method, args = c("id", "time")) @@ -229,14 +229,14 @@

Examples

#> function () #> { #> } -#> <environment: 0x555ac8d15618> +#> <environment: 0x5610416b1270> #> #> $centerMethod #> function (x) #> { #> mean(x, na.rm = TRUE) #> } -#> <bytecode: 0x555accb14118> +#> <bytecode: 0x56104558cf00> #> <environment: namespace:longitudinalData> #> #> $startingCond diff --git a/reference/estimationTime.html b/reference/estimationTime.html index 40ac92bc..b23c9e39 100644 --- a/reference/estimationTime.html +++ b/reference/estimationTime.html @@ -148,11 +148,11 @@

Examples

model <- latrend(method, latrendData) estimationTime(model) -#> [1] 0.009 +#> [1] 0.008 estimationTime(model, unit = 'mins') -#> [1] 0.00015 +#> [1] 0.0001333333 estimationTime(model, unit = 'days') -#> [1] 1.041667e-07 +#> [1] 9.259259e-08
diff --git a/reference/formula.lcMethod.html b/reference/formula.lcMethod.html index 5c0e93fd..1ce4b7a3 100644 --- a/reference/formula.lcMethod.html +++ b/reference/formula.lcMethod.html @@ -113,7 +113,7 @@

Examples

method <- lcMethodLMKM(Y ~ Time, id = "Id", time = "Time")
 formula(method) # Y ~ Time
 #> Y ~ Time
-#> <environment: 0x555ad3ec0d68>
+#> <environment: 0x56104b0aaf10>
 
diff --git a/reference/formula.lcModel.html b/reference/formula.lcModel.html index 5712f3a5..b3980ae8 100644 --- a/reference/formula.lcModel.html +++ b/reference/formula.lcModel.html @@ -104,7 +104,7 @@

Examples

model <- latrend(method, data = latrendData) formula(model) # Y ~ Time #> Y ~ Time -#> <environment: 0x555acc36aa10> +#> <environment: 0x561044d40a28> diff --git a/reference/lcMethodDtwclust.html b/reference/lcMethodDtwclust.html index 18093622..ca5781d1 100644 --- a/reference/lcMethodDtwclust.html +++ b/reference/lcMethodDtwclust.html @@ -157,12 +157,12 @@

Examples

#> #> Precomputing distance matrix... #> -#> Iteration 1: Changes / Distsum = 200 / 546.5648 -#> Iteration 2: Changes / Distsum = 30 / 374.9869 -#> Iteration 3: Changes / Distsum = 13 / 349.3583 -#> Iteration 4: Changes / Distsum = 0 / 349.3583 +#> Iteration 1: Changes / Distsum = 200 / 540.3801 +#> Iteration 2: Changes / Distsum = 16 / 411.0392 +#> Iteration 3: Changes / Distsum = 7 / 407.0692 +#> Iteration 4: Changes / Distsum = 0 / 407.0692 #> -#> Elapsed time is 0.128 seconds. +#> Elapsed time is 0.142 seconds. #> diff --git a/reference/lcMethodMixAK_GLMM.html b/reference/lcMethodMixAK_GLMM.html index 8346ce2d..c53ecc25 100644 --- a/reference/lcMethodMixAK_GLMM.html +++ b/reference/lcMethodMixAK_GLMM.html @@ -167,13 +167,13 @@

Examples

#> #> Cluster sizes (K=3): #> A B C -#> 74 (23.2%) 5 (29.6%) 121 (47.1%) +#> 77 (28%) 122 (55.9%) 1 (16.1%) #> #> Number of obs: 2000, strata (Id): 200 #> #> Scaled residuals: -#> Min. 1st Qu. Median Mean 3rd Qu. Max. -#> -2.4331 -0.7842 -0.2573 0.0000 0.9998 2.1548 +#> Min. 1st Qu. Median Mean 3rd Qu. Max. +#> -7.37906 -0.49303 0.02221 0.00000 0.58188 3.17049 #> diff --git a/reference/min.lcModels.html b/reference/min.lcModels.html index ffc73577..59f25366 100644 --- a/reference/min.lcModels.html +++ b/reference/min.lcModels.html @@ -148,7 +148,7 @@

Examples

#> #> Cluster sizes (K=3): #> A B C -#> 39 (19.5%) 120 (60%) 41 (20.5%) +#> 41 (20.5%) 39 (19.5%) 120 (60%) #> #> Number of obs: 2000, strata (Id): 200 #> diff --git a/reference/plot-lcModel-method-1.png b/reference/plot-lcModel-method-1.png index d037f8d8..fd0361ac 100644 Binary files a/reference/plot-lcModel-method-1.png and b/reference/plot-lcModel-method-1.png differ diff --git a/reference/plotClusterTrajectories-1.png b/reference/plotClusterTrajectories-1.png index e92550f3..37424024 100644 Binary files a/reference/plotClusterTrajectories-1.png and b/reference/plotClusterTrajectories-1.png differ diff --git a/reference/plotFittedTrajectories-1.png b/reference/plotFittedTrajectories-1.png index 464301aa..7e8aecfa 100644 Binary files a/reference/plotFittedTrajectories-1.png and b/reference/plotFittedTrajectories-1.png differ diff --git a/reference/plotTrajectories-2.png b/reference/plotTrajectories-2.png index 9181a043..32c1819a 100644 Binary files a/reference/plotTrajectories-2.png and b/reference/plotTrajectories-2.png differ diff --git a/reference/trajectoryAssignments.html b/reference/trajectoryAssignments.html index 4440d92c..369403f1 100644 --- a/reference/trajectoryAssignments.html +++ b/reference/trajectoryAssignments.html @@ -164,22 +164,22 @@

Examples

method <- lcMethodLMKM(Y ~ Time, id = "Id", time = "Time") model <- latrend(method, latrendData) trajectoryAssignments(model) -#> [1] B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B -#> [38] B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B -#> [75] B B B B B B A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A -#> [112] A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A -#> [149] A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A -#> [186] A A A A A A A A A A A A A A A +#> [1] A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A +#> [38] A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A +#> [75] A A A A A A B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B +#> [112] B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B +#> [149] B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B +#> [186] B B B B B B B B B B B B B B B #> Levels: A B # assign trajectories at random using weighted sampling trajectoryAssignments(model, strategy = which.weight) -#> [1] B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B -#> [38] B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B -#> [75] B B B B B B A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A -#> [112] A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A -#> [149] A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A -#> [186] A A A A A A A A A A A A A A A +#> [1] A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A +#> [38] A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A +#> [75] A A A A A A B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B +#> [112] B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B +#> [149] B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B +#> [186] B B B B B B B B B B B B B B B #> Levels: A B diff --git a/reference/which.weight.html b/reference/which.weight.html index ff99fe07..4da746ec 100644 --- a/reference/which.weight.html +++ b/reference/which.weight.html @@ -86,7 +86,7 @@

Value

Examples

x = c(.01, .69, .3)
 which.weight(x) #1, 2, or 3
-#> [1] 3
+#> [1] 2