diff --git a/articles/simulation.html b/articles/simulation.html index b470d9a5..05f45589 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: 342 -#> Start of the simulation: 2024-04-03 13:44:33.652847 -#> End of the simulation: 2024-04-03 13:44:44.152435 +#> Estimated replications per hour: 341 +#> Start of the simulation: 2024-04-03 14:26:27.842144 +#> End of the simulation: 2024-04-03 14:26:38.375342

Analyzing the results diff --git a/pkgdown.yml b/pkgdown.yml index 901b58ec..bfc6d9f4 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -5,5 +5,5 @@ articles: demo: demo.html implement: implement.html simulation: simulation.html -last_built: 2024-04-03T13:42Z +last_built: 2024-04-03T14:24Z diff --git a/reference/as.list.lcMethod.html b/reference/as.list.lcMethod.html index d33b1698..befb7da0 100644 --- a/reference/as.list.lcMethod.html +++ b/reference/as.list.lcMethod.html @@ -136,13 +136,13 @@

Examples

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

Examples

#> #> $formula #> Y ~ Time -#> <environment: 0x5641a42cb760> +#> <environment: 0x5625e9e39ee0> #> as.list(method, args = c("id", "time")) @@ -227,11 +227,11 @@

Examples

#> #> $distance #> function(){} -#> <environment: 0x5641a55913d0> +#> <environment: 0x5625f0c215c0> #> #> $centerMethod #> function(x){mean(x,na.rm=TRUE)} -#> <bytecode: 0x5641a2edbd98> +#> <bytecode: 0x5625ee384108> #> <environment: namespace:longitudinalData> #> #> $startingCond diff --git a/reference/estimationTime.html b/reference/estimationTime.html index 899def1c..71a1674f 100644 --- a/reference/estimationTime.html +++ b/reference/estimationTime.html @@ -148,11 +148,11 @@

Examples

model <- latrend(method, latrendData) estimationTime(model) -#> [1] 0.013 +#> [1] 0.094 estimationTime(model, unit = 'mins') -#> [1] 0.0002166667 +#> [1] 0.001566667 estimationTime(model, unit = 'days') -#> [1] 1.50463e-07 +#> [1] 1.087963e-06
diff --git a/reference/formula.lcMethod.html b/reference/formula.lcMethod.html index 2bc7c1fd..ddaba083 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: 0x5641a3d1cbf8>
+#> <environment: 0x5625f1c842b8>
 
diff --git a/reference/formula.lcModel.html b/reference/formula.lcModel.html index c43ee4e2..fe584c19 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: 0x5641afaa64a8> +#> <environment: 0x5625fef5ed30> diff --git a/reference/lcMethodDtwclust.html b/reference/lcMethodDtwclust.html index 31f9555b..7b10cb36 100644 --- a/reference/lcMethodDtwclust.html +++ b/reference/lcMethodDtwclust.html @@ -157,13 +157,14 @@

Examples

#> #> Precomputing distance matrix... #> -#> Iteration 1: Changes / Distsum = 200 / 737.2699 -#> Iteration 2: Changes / Distsum = 46 / 422.3949 -#> Iteration 3: Changes / Distsum = 15 / 361.2362 -#> Iteration 4: Changes / Distsum = 10 / 348.6416 -#> Iteration 5: Changes / Distsum = 0 / 348.6416 +#> Iteration 1: Changes / Distsum = 200 / 582.2736 +#> Iteration 2: Changes / Distsum = 42 / 416.7195 +#> Iteration 3: Changes / Distsum = 16 / 364.8345 +#> Iteration 4: Changes / Distsum = 9 / 354.0672 +#> Iteration 5: Changes / Distsum = 4 / 348.6416 +#> Iteration 6: Changes / Distsum = 0 / 348.6416 #> -#> Elapsed time is 0.102 seconds. +#> Elapsed time is 0.105 seconds. #> diff --git a/reference/lcMethodMixAK_GLMM.html b/reference/lcMethodMixAK_GLMM.html index 279003b7..77383327 100644 --- a/reference/lcMethodMixAK_GLMM.html +++ b/reference/lcMethodMixAK_GLMM.html @@ -167,13 +167,13 @@

Examples

#> #> Cluster sizes (K=3): #> A B C -#> 63 (26%) 16 (13.3%) 121 (60.7%) +#> 79 (27.7%) 0 (24.6%) 121 (47.8%) #> #> Number of obs: 2000, strata (Id): 200 #> #> Scaled residuals: #> Min. 1st Qu. Median Mean 3rd Qu. Max. -#> -4.07678 -0.60006 0.08548 0.00000 0.67545 2.76972 +#> -3.98524 -0.61917 0.04097 0.00000 0.66109 3.39975 #> diff --git a/reference/max.lcModels.html b/reference/max.lcModels.html index ac7104bf..d092abba 100644 --- a/reference/max.lcModels.html +++ b/reference/max.lcModels.html @@ -151,7 +151,7 @@

Examples

#> #> Cluster sizes (K=2): #> A B -#> 80 (40%) 120 (60%) +#> 120 (60%) 80 (40%) #> #> Number of obs: 2000, strata (Id): 200 #> diff --git a/reference/min.lcModels.html b/reference/min.lcModels.html index c755089f..6d31a191 100644 --- a/reference/min.lcModels.html +++ b/reference/min.lcModels.html @@ -147,14 +147,14 @@

Examples

#> formula: Y ~ Time #> #> Cluster sizes (K=3): -#> A B C -#> 39 (19.5%) 120 (60%) 41 (20.5%) +#> A B C +#> 50 (25%) 72 (36%) 78 (39%) #> #> Number of obs: 2000, strata (Id): 200 #> #> Scaled residuals: #> Min. 1st Qu. Median Mean 3rd Qu. Max. -#> -4.07173 -0.63323 0.03828 0.00000 0.66900 3.44575 +#> -3.55483 -0.55670 -0.04454 0.00000 0.59256 5.41874 #> diff --git a/reference/plot-lcModel-method-1.png b/reference/plot-lcModel-method-1.png index 89f5a4c0..1e371db4 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 8eda11c0..a5219c01 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 1c88c87e..dbc9e4c0 100644 Binary files a/reference/plotFittedTrajectories-1.png and b/reference/plotFittedTrajectories-1.png differ diff --git a/reference/plotMetric-1.png b/reference/plotMetric-1.png index e948a5eb..55be8249 100644 Binary files a/reference/plotMetric-1.png and b/reference/plotMetric-1.png differ diff --git a/reference/plotMetric-2.png b/reference/plotMetric-2.png index c19c447b..c11b591b 100644 Binary files a/reference/plotMetric-2.png and b/reference/plotMetric-2.png differ diff --git a/reference/postprob.html b/reference/postprob.html index 9fbae613..41749593 100644 --- a/reference/postprob.html +++ b/reference/postprob.html @@ -158,206 +158,206 @@

Examples

postprob(model) #> A B -#> [1,] 1 0 -#> [2,] 1 0 -#> [3,] 1 0 -#> [4,] 1 0 -#> [5,] 1 0 -#> [6,] 1 0 -#> [7,] 1 0 -#> [8,] 1 0 -#> [9,] 1 0 -#> [10,] 1 0 -#> [11,] 1 0 -#> [12,] 1 0 -#> [13,] 1 0 -#> [14,] 1 0 -#> [15,] 1 0 -#> [16,] 1 0 -#> [17,] 1 0 -#> [18,] 1 0 -#> [19,] 1 0 -#> [20,] 1 0 -#> [21,] 1 0 -#> [22,] 1 0 -#> [23,] 1 0 -#> [24,] 1 0 -#> [25,] 1 0 -#> [26,] 1 0 -#> [27,] 1 0 -#> [28,] 1 0 -#> [29,] 1 0 -#> [30,] 1 0 -#> [31,] 1 0 -#> [32,] 1 0 -#> [33,] 1 0 -#> [34,] 1 0 -#> [35,] 1 0 -#> [36,] 1 0 -#> [37,] 1 0 -#> [38,] 1 0 -#> [39,] 1 0 -#> [40,] 1 0 -#> [41,] 1 0 -#> [42,] 1 0 -#> [43,] 1 0 -#> [44,] 1 0 -#> [45,] 1 0 -#> [46,] 1 0 -#> [47,] 1 0 -#> [48,] 1 0 -#> [49,] 1 0 -#> [50,] 1 0 -#> [51,] 1 0 -#> [52,] 1 0 -#> [53,] 1 0 -#> [54,] 1 0 -#> [55,] 1 0 -#> [56,] 1 0 -#> [57,] 1 0 -#> [58,] 1 0 -#> [59,] 1 0 -#> [60,] 1 0 -#> [61,] 1 0 -#> [62,] 1 0 -#> [63,] 1 0 -#> [64,] 1 0 -#> [65,] 1 0 -#> [66,] 1 0 -#> [67,] 1 0 -#> [68,] 1 0 -#> [69,] 1 0 -#> [70,] 1 0 -#> [71,] 1 0 -#> [72,] 1 0 -#> [73,] 1 0 -#> [74,] 1 0 -#> [75,] 1 0 -#> [76,] 1 0 -#> [77,] 1 0 -#> [78,] 1 0 -#> [79,] 1 0 -#> [80,] 1 0 -#> [81,] 0 1 -#> [82,] 0 1 -#> [83,] 0 1 -#> [84,] 0 1 -#> [85,] 0 1 -#> [86,] 0 1 -#> [87,] 0 1 -#> [88,] 0 1 -#> [89,] 0 1 -#> [90,] 0 1 -#> [91,] 0 1 -#> [92,] 0 1 -#> [93,] 0 1 -#> [94,] 0 1 -#> [95,] 0 1 -#> [96,] 0 1 -#> [97,] 0 1 -#> [98,] 0 1 -#> [99,] 0 1 -#> [100,] 0 1 -#> [101,] 0 1 -#> [102,] 0 1 -#> [103,] 0 1 -#> [104,] 0 1 -#> [105,] 0 1 -#> [106,] 0 1 -#> [107,] 0 1 -#> [108,] 0 1 -#> [109,] 0 1 -#> [110,] 0 1 -#> [111,] 0 1 -#> [112,] 0 1 -#> [113,] 0 1 -#> [114,] 0 1 -#> [115,] 0 1 -#> [116,] 0 1 -#> [117,] 0 1 -#> [118,] 0 1 -#> [119,] 0 1 -#> [120,] 0 1 -#> [121,] 0 1 -#> [122,] 0 1 -#> [123,] 0 1 -#> [124,] 0 1 -#> [125,] 0 1 -#> [126,] 0 1 -#> [127,] 0 1 -#> [128,] 0 1 -#> [129,] 0 1 -#> [130,] 0 1 -#> [131,] 0 1 -#> [132,] 0 1 -#> [133,] 0 1 -#> [134,] 0 1 -#> [135,] 0 1 -#> [136,] 0 1 -#> [137,] 0 1 -#> [138,] 0 1 -#> [139,] 0 1 -#> [140,] 0 1 -#> [141,] 0 1 -#> [142,] 0 1 -#> [143,] 0 1 -#> [144,] 0 1 -#> [145,] 0 1 -#> [146,] 0 1 -#> [147,] 0 1 -#> [148,] 0 1 -#> [149,] 0 1 -#> [150,] 0 1 -#> [151,] 0 1 -#> [152,] 0 1 -#> [153,] 0 1 -#> [154,] 0 1 -#> [155,] 0 1 -#> [156,] 0 1 -#> [157,] 0 1 -#> [158,] 0 1 -#> [159,] 0 1 -#> [160,] 0 1 -#> [161,] 0 1 -#> [162,] 0 1 -#> [163,] 0 1 -#> [164,] 0 1 -#> [165,] 0 1 -#> [166,] 0 1 -#> [167,] 0 1 -#> [168,] 0 1 -#> [169,] 0 1 -#> [170,] 0 1 -#> [171,] 0 1 -#> [172,] 0 1 -#> [173,] 0 1 -#> [174,] 0 1 -#> [175,] 0 1 -#> [176,] 0 1 -#> [177,] 0 1 -#> [178,] 0 1 -#> [179,] 0 1 -#> [180,] 0 1 -#> [181,] 0 1 -#> [182,] 0 1 -#> [183,] 0 1 -#> [184,] 0 1 -#> [185,] 0 1 -#> [186,] 0 1 -#> [187,] 0 1 -#> [188,] 0 1 -#> [189,] 0 1 -#> [190,] 0 1 -#> [191,] 0 1 -#> [192,] 0 1 -#> [193,] 0 1 -#> [194,] 0 1 -#> [195,] 0 1 -#> [196,] 0 1 -#> [197,] 0 1 -#> [198,] 0 1 -#> [199,] 0 1 -#> [200,] 0 1 +#> [1,] 0 1 +#> [2,] 0 1 +#> [3,] 0 1 +#> [4,] 0 1 +#> [5,] 0 1 +#> [6,] 0 1 +#> [7,] 0 1 +#> [8,] 0 1 +#> [9,] 0 1 +#> [10,] 0 1 +#> [11,] 0 1 +#> [12,] 0 1 +#> [13,] 0 1 +#> [14,] 0 1 +#> [15,] 0 1 +#> [16,] 0 1 +#> [17,] 0 1 +#> [18,] 0 1 +#> [19,] 0 1 +#> [20,] 0 1 +#> [21,] 0 1 +#> [22,] 0 1 +#> [23,] 0 1 +#> [24,] 0 1 +#> [25,] 0 1 +#> [26,] 0 1 +#> [27,] 0 1 +#> [28,] 0 1 +#> [29,] 0 1 +#> [30,] 0 1 +#> [31,] 0 1 +#> [32,] 0 1 +#> [33,] 0 1 +#> [34,] 0 1 +#> [35,] 0 1 +#> [36,] 0 1 +#> [37,] 0 1 +#> [38,] 0 1 +#> [39,] 0 1 +#> [40,] 0 1 +#> [41,] 0 1 +#> [42,] 0 1 +#> [43,] 0 1 +#> [44,] 0 1 +#> [45,] 0 1 +#> [46,] 0 1 +#> [47,] 0 1 +#> [48,] 0 1 +#> [49,] 0 1 +#> [50,] 0 1 +#> [51,] 0 1 +#> [52,] 0 1 +#> [53,] 0 1 +#> [54,] 0 1 +#> [55,] 0 1 +#> [56,] 0 1 +#> [57,] 0 1 +#> [58,] 0 1 +#> [59,] 0 1 +#> [60,] 0 1 +#> [61,] 0 1 +#> [62,] 0 1 +#> [63,] 0 1 +#> [64,] 0 1 +#> [65,] 0 1 +#> [66,] 0 1 +#> [67,] 0 1 +#> [68,] 0 1 +#> [69,] 0 1 +#> [70,] 0 1 +#> [71,] 0 1 +#> [72,] 0 1 +#> [73,] 0 1 +#> [74,] 0 1 +#> [75,] 0 1 +#> [76,] 0 1 +#> [77,] 0 1 +#> [78,] 0 1 +#> [79,] 0 1 +#> [80,] 0 1 +#> [81,] 1 0 +#> [82,] 1 0 +#> [83,] 1 0 +#> [84,] 1 0 +#> [85,] 1 0 +#> [86,] 1 0 +#> [87,] 1 0 +#> [88,] 1 0 +#> [89,] 1 0 +#> [90,] 1 0 +#> [91,] 1 0 +#> [92,] 1 0 +#> [93,] 1 0 +#> [94,] 1 0 +#> [95,] 1 0 +#> [96,] 1 0 +#> [97,] 1 0 +#> [98,] 1 0 +#> [99,] 1 0 +#> [100,] 1 0 +#> [101,] 1 0 +#> [102,] 1 0 +#> [103,] 1 0 +#> [104,] 1 0 +#> [105,] 1 0 +#> [106,] 1 0 +#> [107,] 1 0 +#> [108,] 1 0 +#> [109,] 1 0 +#> [110,] 1 0 +#> [111,] 1 0 +#> [112,] 1 0 +#> [113,] 1 0 +#> [114,] 1 0 +#> [115,] 1 0 +#> [116,] 1 0 +#> [117,] 1 0 +#> [118,] 1 0 +#> [119,] 1 0 +#> [120,] 1 0 +#> [121,] 1 0 +#> [122,] 1 0 +#> [123,] 1 0 +#> [124,] 1 0 +#> [125,] 1 0 +#> [126,] 1 0 +#> [127,] 1 0 +#> [128,] 1 0 +#> [129,] 1 0 +#> [130,] 1 0 +#> [131,] 1 0 +#> [132,] 1 0 +#> [133,] 1 0 +#> [134,] 1 0 +#> [135,] 1 0 +#> [136,] 1 0 +#> [137,] 1 0 +#> [138,] 1 0 +#> [139,] 1 0 +#> [140,] 1 0 +#> [141,] 1 0 +#> [142,] 1 0 +#> [143,] 1 0 +#> [144,] 1 0 +#> [145,] 1 0 +#> [146,] 1 0 +#> [147,] 1 0 +#> [148,] 1 0 +#> [149,] 1 0 +#> [150,] 1 0 +#> [151,] 1 0 +#> [152,] 1 0 +#> [153,] 1 0 +#> [154,] 1 0 +#> [155,] 1 0 +#> [156,] 1 0 +#> [157,] 1 0 +#> [158,] 1 0 +#> [159,] 1 0 +#> [160,] 1 0 +#> [161,] 1 0 +#> [162,] 1 0 +#> [163,] 1 0 +#> [164,] 1 0 +#> [165,] 1 0 +#> [166,] 1 0 +#> [167,] 1 0 +#> [168,] 1 0 +#> [169,] 1 0 +#> [170,] 1 0 +#> [171,] 1 0 +#> [172,] 1 0 +#> [173,] 1 0 +#> [174,] 1 0 +#> [175,] 1 0 +#> [176,] 1 0 +#> [177,] 1 0 +#> [178,] 1 0 +#> [179,] 1 0 +#> [180,] 1 0 +#> [181,] 1 0 +#> [182,] 1 0 +#> [183,] 1 0 +#> [184,] 1 0 +#> [185,] 1 0 +#> [186,] 1 0 +#> [187,] 1 0 +#> [188,] 1 0 +#> [189,] 1 0 +#> [190,] 1 0 +#> [191,] 1 0 +#> [192,] 1 0 +#> [193,] 1 0 +#> [194,] 1 0 +#> [195,] 1 0 +#> [196,] 1 0 +#> [197,] 1 0 +#> [198,] 1 0 +#> [199,] 1 0 +#> [200,] 1 0 if (rlang::is_installed("lcmm")) { gmmMethod = lcMethodLcmmGMM( diff --git a/reference/which.weight.html b/reference/which.weight.html index a820bc1c..3a119a43 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] 2
+#> [1] 3