From 06d7f68c74d046c57e3f76a365ab40fab937901a Mon Sep 17 00:00:00 2001 From: istallworthy <31548151+istallworthy@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:04:29 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20istallwo?= =?UTF-8?q?rthy/devMSMs@267e8b1e48926c05cf0266779ec8bc49919e21cd=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgdown.yml | 2 +- reference/assessBalance.html | 84 +++------------------------------ reference/calcBalStats.html | 46 ++---------------- reference/compareHistories.html | 6 +-- reference/createFormulas.html | 12 ++--- reference/createWeights.html | 6 +-- reference/fitModel.html | 6 +-- reference/getModel.html | 8 ++-- reference/make_love_plot.html | 6 +-- reference/trimWeights.html | 6 +-- 10 files changed, 37 insertions(+), 145 deletions(-) diff --git a/pkgdown.yml b/pkgdown.yml index 02b78adf..6d91f487 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -2,5 +2,5 @@ pandoc: 2.19.2 pkgdown: 2.0.7 pkgdown_sha: ~ articles: {} -last_built: 2023-09-22T16:10Z +last_built: 2023-09-25T16:04Z diff --git a/reference/assessBalance.html b/reference/assessBalance.html index 51c78163..98578d84 100644 --- a/reference/assessBalance.html +++ b/reference/assessBalance.html @@ -164,17 +164,17 @@

Examples

#> USER ALERT: Please manually inspect the short balancing formula below that includes time-varying confounders at t-1 only: #> The short formula for A-D.3 at A time point 1 is: #> A.1 ~ C -#> <environment: 0x55c8bebca208> +#> <environment: 0x561658d2ce60> #> #> USER ALERT: Please manually inspect the short balancing formula below that includes time-varying confounders at t-1 only: #> The short formula for A-D.3 at A time point 2 is: #> A.2 ~ A.1 + B.1 + C -#> <environment: 0x55c8bebca208> +#> <environment: 0x561658d2ce60> #> #> USER ALERT: Please manually inspect the short balancing formula below that includes time-varying confounders at t-1 only: #> The short formula for A-D.3 at A time point 3 is: #> A.3 ~ A.2 + B.2 + C -#> <environment: 0x55c8bebca208> +#> <environment: 0x561658d2ce60> #> #Prebalance @@ -188,35 +188,7 @@

Examples

#> USER ALERT: The following statistics display covariate imbalance at each exposure time point prior to weighting, #> using short formulas. #> - - - -#> As shown below, for exposure A using no weights, and short formulas, 2 out of 7 (29%) covariates across time points corresponding to 2 out of 2 domains remain imbalanced with a remaining average absolute value correlation/std mean difference of 0.14 (range= -0.11-0.16) : -#> -#> Table: Imbalanced covariates using no weights and short formulas -#> -#> | exp_time| balanced_n| imbalanced_n| n| -#> |--------:|----------:|------------:|--:| -#> | 1| 1| 0| 1| -#> | 2| 2| 1| 3| -#> | 3| 2| 1| 3| -#> -#> - - - -#> USER ALERT: For exposure A using the short formulas and no weights : -#> The median absolute value relation between exposure and confounder is 0.07 (range = -0.11-0.16). -#> As shown below, the following 2 covariates across time points out of 7 total (28.57%) spanning 2 domains out of 4 (50%) are imbalanced with a remaining median absolute value correlation/std mean difference in relation to A of 0.14 (range=-0.11-0.16) : -#> -#> -#> Table: Imbalanced Covariates -#> -#> |exposure | exp_time|covar_time |covariate | avg_bal| bal_thresh| balanced| -#> |:--------|--------:|:----------|:---------|----------:|----------:|--------:| -#> |A | 2|1 |A.1 | 0.1558752| 0.1| 0| -#> |A | 3|0 |C | -0.1145748| 0.1| 0| -#> +#> Error in model.frame.default(formula = std_bal_stats ~ name, data = f_stats): invalid type (list) for variable 'name' b <- assessBalance(data = test, exposure = "A", exposure_time_pts = c(1, 2, 3), @@ -228,29 +200,7 @@

Examples

#> USER ALERT: The following statistics display covariate imbalance at each exposure time point prior to weighting, #> using short formulas. #> - - -#> Warning: no non-missing arguments to min; returning Inf -#> Warning: no non-missing arguments to max; returning -Inf - -#> As shown below, for exposure A using no weights, and short formulas, 0 out of 7 (0%) covariates across time points corresponding to 0 out of 2 domains remain imbalanced with a remaining average absolute value correlation/std mean difference of NA (range= Inf--Inf) : -#> -#> Table: Imbalanced covariates using no weights and short formulas -#> -#> | exp_time| balanced_n| imbalanced_n| n| -#> |--------:|----------:|------------:|--:| -#> | 1| 1| 0| 1| -#> | 2| 3| 0| 3| -#> | 3| 3| 0| 3| -#> -#> - - - -#> USER ALERT: For exposure A using the short formulas and no weights : -#> The median absolute value relation between exposure and confounder is 0.07 (range = -0.11-0.16). -#> There are no imbalanced covariates. -#> There are no imbalanced covariates. +#> Error in model.frame.default(formula = std_bal_stats ~ name, data = f_stats): invalid type (list) for variable 'name' b <- assessBalance(data = test, exposure = "A", exposure_time_pts = c(1, 2, 3), @@ -263,29 +213,7 @@

Examples

#> USER ALERT: The following statistics display covariate imbalance at each exposure time point prior to weighting, #> using short formulas. #> - - -#> Warning: no non-missing arguments to min; returning Inf -#> Warning: no non-missing arguments to max; returning -Inf - -#> As shown below, for exposure A using no weights, and short formulas, 0 out of 7 (0%) covariates across time points corresponding to 0 out of 2 domains remain imbalanced with a remaining average absolute value correlation/std mean difference of NA (range= Inf--Inf) : -#> -#> Table: Imbalanced covariates using no weights and short formulas -#> -#> | exp_time| balanced_n| imbalanced_n| n| -#> |--------:|----------:|------------:|--:| -#> | 1| 1| 0| 1| -#> | 2| 3| 0| 3| -#> | 3| 3| 0| 3| -#> -#> - - - -#> USER ALERT: For exposure A using the short formulas and no weights : -#> The median absolute value relation between exposure and confounder is 0.07 (range = -0.11-0.16). -#> There are no imbalanced covariates. -#> There are no imbalanced covariates. +#> Error in model.frame.default(formula = std_bal_stats ~ name, data = f_stats): invalid type (list) for variable 'name' # Weighted w <- createWeights(data = test, diff --git a/reference/calcBalStats.html b/reference/calcBalStats.html index abeb4e37..640f88a9 100644 --- a/reference/calcBalStats.html +++ b/reference/calcBalStats.html @@ -155,17 +155,17 @@

Examples

#> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 1 is: #> A.1 ~ C -#> <environment: 0x55c8ba809350> +#> <environment: 0x561657a2ce38> #> #> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 2 is: #> A.2 ~ A.1 + B.1 + C -#> <environment: 0x55c8ba809350> +#> <environment: 0x561657a2ce38> #> #> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 3 is: #> A.3 ~ A.1 + A.2 + B.1 + B.2 + C -#> <environment: 0x55c8ba809350> +#> <environment: 0x561657a2ce38> #> w <- createWeights(data = test, @@ -181,25 +181,7 @@

Examples

exposure_time_pts = c(1, 2, 3), outcome = "D.3", balance_thresh = 0.1) - - - -#> For each time point, prebalance summary plots for full formulas and weighting method no weights have now been saved in the 'prebalance/plots/' folder. -#> -#> Balance statistics using full formulas for Ausing no weights have been saved in the 'balance/prebalance/' folder -#> Sampling weights using the full for A have been saved in the 'balance/prebalance/' folder -#> -#> As shown below, for exposure A using no weights, and full formulas, 4 out of 9 (44%) covariates across time points corresponding to 2 out of 3 domains remain imbalanced with a remaining average absolute value correlation/std mean difference of 0.21 (range= 0.1-0.27) : -#> -#> Table: Imbalanced covariates using no weights and full formulas -#> -#> | exp_time| balanced_n| imbalanced_n| n| -#> |--------:|----------:|------------:|--:| -#> | 1| 1| 0| 1| -#> | 2| 1| 2| 3| -#> | 3| 3| 2| 5| -#> -#> +#> Error in model.frame.default(formula = std_bal_stats ~ name, data = f_stats): invalid type (list) for variable 'name' c <- calcBalStats(data = test, formulas = f, exposure = "A", @@ -207,25 +189,7 @@

Examples

outcome = "D.3", balance_thresh = c(0.05, 0.1), imp_conf = "B2") - - - -#> For each time point, prebalance summary plots for full formulas and weighting method no weights have now been saved in the 'prebalance/plots/' folder. -#> -#> Balance statistics using full formulas for Ausing no weights have been saved in the 'balance/prebalance/' folder -#> Sampling weights using the full for A have been saved in the 'balance/prebalance/' folder -#> -#> As shown below, for exposure A using no weights, and full formulas, 4 out of 9 (44%) covariates across time points corresponding to 2 out of 3 domains remain imbalanced with a remaining average absolute value correlation/std mean difference of 0.21 (range= 0.1-0.27) : -#> -#> Table: Imbalanced covariates using no weights and full formulas -#> -#> | exp_time| balanced_n| imbalanced_n| n| -#> |--------:|----------:|------------:|--:| -#> | 1| 1| 0| 1| -#> | 2| 1| 2| 3| -#> | 3| 3| 2| 5| -#> -#> +#> Error in model.frame.default(formula = std_bal_stats ~ name, data = f_stats): invalid type (list) for variable 'name' c <- calcBalStats(data = test, formulas = f, exposure = "A", diff --git a/reference/compareHistories.html b/reference/compareHistories.html index 59408734..ef83e868 100644 --- a/reference/compareHistories.html +++ b/reference/compareHistories.html @@ -179,17 +179,17 @@

Examples

#> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 1 is: #> A.1 ~ C -#> <environment: 0x55c8b93b4990> +#> <environment: 0x5616545db300> #> #> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 2 is: #> A.2 ~ A.1 + B.1 + C -#> <environment: 0x55c8b93b4990> +#> <environment: 0x5616545db300> #> #> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 3 is: #> A.3 ~ A.1 + A.2 + B.1 + B.2 + C -#> <environment: 0x55c8b93b4990> +#> <environment: 0x5616545db300> #> test <- data.frame(ID = 1:50, diff --git a/reference/createFormulas.html b/reference/createFormulas.html index 667fe22f..9b5d7e3e 100644 --- a/reference/createFormulas.html +++ b/reference/createFormulas.html @@ -150,17 +150,17 @@

Examples

#> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 1 is: #> A.1 ~ C -#> <environment: 0x55c8ba6e8bc8> +#> <environment: 0x5616525e64c0> #> #> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 2 is: #> A.2 ~ A.1 + B.1 + C -#> <environment: 0x55c8ba6e8bc8> +#> <environment: 0x5616525e64c0> #> #> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 3 is: #> A.3 ~ A.1 + A.2 + B.1 + B.2 + C -#> <environment: 0x55c8ba6e8bc8> +#> <environment: 0x5616525e64c0> #> #Short Formulas @@ -174,17 +174,17 @@

Examples

#> USER ALERT: Please manually inspect the short balancing formula below that includes time-varying confounders at t-1 only: #> The short formula for A-D.3 at A time point 1 is: #> A.1 ~ C -#> <environment: 0x55c8ba882a30> +#> <environment: 0x5616526981e0> #> #> USER ALERT: Please manually inspect the short balancing formula below that includes time-varying confounders at t-1 only: #> The short formula for A-D.3 at A time point 2 is: #> A.2 ~ A.1 + B.1 + C -#> <environment: 0x55c8ba882a30> +#> <environment: 0x5616526981e0> #> #> USER ALERT: Please manually inspect the short balancing formula below that includes time-varying confounders at t-1 only: #> The short formula for A-D.3 at A time point 3 is: #> A.3 ~ A.2 + B.2 + C -#> <environment: 0x55c8ba882a30> +#> <environment: 0x5616526981e0> #> #Update Formulas diff --git a/reference/createWeights.html b/reference/createWeights.html index d0aba089..34dbb745 100644 --- a/reference/createWeights.html +++ b/reference/createWeights.html @@ -146,17 +146,17 @@

Examples

#> USER ALERT: Please manually inspect the short balancing formula below that includes time-varying confounders at t-1 only: #> The short formula for A-D.3 at A time point 1 is: #> A.1 ~ C -#> <environment: 0x55c8bb392278> +#> <environment: 0x561657fb6068> #> #> USER ALERT: Please manually inspect the short balancing formula below that includes time-varying confounders at t-1 only: #> The short formula for A-D.3 at A time point 2 is: #> A.2 ~ A.1 + B.1 + C -#> <environment: 0x55c8bb392278> +#> <environment: 0x561657fb6068> #> #> USER ALERT: Please manually inspect the short balancing formula below that includes time-varying confounders at t-1 only: #> The short formula for A-D.3 at A time point 3 is: #> A.3 ~ A.2 + B.2 + C -#> <environment: 0x55c8bb392278> +#> <environment: 0x561657fb6068> #> w <- createWeights(data = test, diff --git a/reference/fitModel.html b/reference/fitModel.html index f8faf01b..e3e82e06 100644 --- a/reference/fitModel.html +++ b/reference/fitModel.html @@ -158,17 +158,17 @@

Examples

#> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 1 is: #> A.1 ~ C -#> <environment: 0x55c8b8b240f0> +#> <environment: 0x561654d36668> #> #> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 2 is: #> A.2 ~ A.1 + B.1 + C -#> <environment: 0x55c8b8b240f0> +#> <environment: 0x561654d36668> #> #> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 3 is: #> A.3 ~ A.1 + A.2 + B.1 + B.2 + C -#> <environment: 0x55c8b8b240f0> +#> <environment: 0x561654d36668> #> test <- data.frame(ID = 1:50, diff --git a/reference/getModel.html b/reference/getModel.html index dbb34fb2..f3e249ba 100644 --- a/reference/getModel.html +++ b/reference/getModel.html @@ -144,17 +144,17 @@

Examples

#> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 1 is: #> A.1 ~ C -#> <environment: 0x55c8ba2c4020> +#> <environment: 0x561652fd0b98> #> #> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 2 is: #> A.2 ~ A.1 + B.1 + C -#> <environment: 0x55c8ba2c4020> +#> <environment: 0x561652fd0b98> #> #> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 3 is: #> A.3 ~ A.1 + A.2 + B.1 + B.2 + C -#> <environment: 0x55c8ba2c4020> +#> <environment: 0x561652fd0b98> #> w <- createWeights(data = test, @@ -179,7 +179,7 @@

Examples

exp_epochs = e, fam = gaussian, model = "m0") -#> Error in model.frame.default(~weights, data = structure(list(ID = 1:50, A.1 = c(-2.25450124119163, -1.14145977960781, -2.13534861157083, -0.118810136596918, -0.30324174831627, -0.376425114624171, -0.788075327203601, -2.67516332127397, -1.07789064734709, -1.22467420051028, -0.178760543537634, -0.760074058794734, 0.163949229996246, 0.0246687124383226, -0.934031702852378, -0.270510928293259, 0.0809099735710346, -0.78908854168339, 0.301774908923858, 0.40128226757549, 2.22447969013788, 0.254289899475033, 1.34808949484331, 2.29398806975202, -1.21255293474454, -0.302355598393505, 0.168199175873409, -0.387755233232884, -0.379545633425957, -1.56484714663701, -0.0318226120058215, 0.687978959895563, -0.0813124253006793, 2.12669700659682, 0.47622504700988, 0.732958468945113, -0.48740319839282, -0.950014794221114, -0.390432560221552, -0.689107518735479, 0.406368245377326, -0.326822274374307, -0.807451502644137, -0.0694317827261806, 0.191962616834976, -0.539854024883315, 1.54328047723254, -1.99463880020722, -0.581984283828905, -1.4558654922923), A.2 = c(0.577992203331744, -1.11085012886211, 0.84277291085755, 0.595060155753058, 0.183936428403484, 0.632173273025868, 2.44730099142639, -0.123335973220438, 1.01115237876435, 0.169050434837047, -0.203735635617952, 0.775377216859346, -0.122473234987539, 0.375545069403844, 1.03743973828961, -0.547550233305927, 1.11455109379909, 1.66977791276059, -2.06473719000494, 1.19125802769125, -0.532913252406135, 1.3024831073358, -0.375362513591956, -0.515751213438881, -1.6002864276098, -0.339081085536809, -1.05816919413866, 1.55467074520256, -0.54651510831059, -1.15849208180778, -0.75787765803346, -0.280811308419089, -1.25703203711126, -0.0608999313809675, 0.0891266411762748, 0.198844132451854, -1.28684424388989, 1.1512729244014, 0.53329949181841, 0.242416194494, 1.2086916924765, -0.2848024882502, 0.287320237583405, -2.24570698525179, 0.378225579276626, -0.325206918037119, 1.23231948219825, -0.140919197402143, 0.625508773489556, 0.354973286458446), A.3 = c(-0.87744380003437, -0.391627442895531, -0.185259674172291, 0.109212411272259, -0.275956656748692, -0.269946159832467, -0.021663760362375, -0.236103305832099, 0.388450224476514, 0.154217551628649, 0.302937963720788, 1.55991792246305, -0.770134377066586, -1.90937424170836, -1.88342194832306, -1.46463927812016, 0.0799441273422186, -0.264548319200325, 0.229521424532671, -0.408833028168225, 0.354325919380273, 0.992924103281775, 1.29832459997857, -0.695181572331244, -0.708143321920888, 0.842677015536343, -0.908495881448631, -1.09693803018811, 2.46926863392779, 2.08109137897556, -2.35424722827131, -0.0420220254900963, -0.501130047660984, -0.923429020978674, -0.436017717684017, -0.254325518241958, 0.341038721830311, 0.273418556936212, 0.77190325673402, 0.364029387684567, 1.82415957410635, -0.756300867408734, -1.64115605525074, 1.58183160017081, 0.532355532286597, -1.10352957821051, 0.436722735787931, -0.532108070738554, 1.06716581261015, 0.853666117549074), B.1 = c(1.08116419393203, 0.399944362762405, 1.00036111761688, -0.958591650382271, 0.735763713007786, 0.335778534477458, 1.04180067415588, -0.793299855059838, -1.06085399086653, 0.359066271410564, 2.97714895597826, 0.00428154962576196, 0.373468753733554, -1.83626265078192, 0.588211634480402, -0.481663916072481, -0.947490990528462, 1.28684817658054, 0.670007604180656, -0.347960374228244, -1.35208786721267, -1.23994521114107, 0.584412694695565, -1.05479347154314, 0.360834853749589, -0.772307880442893, -1.89435788624282, 0.555891557644142, -0.480403532464094, 1.84395922306934, 1.22450933081626, -0.801253176164783, -1.0094158156599, -1.20339856652403, -0.0292941499041596, -0.324914412231335, -1.86319163977725, -0.254607483445443, 0.568842291913969, 0.858548375764094, -0.533352870734617, -1.70734371070329, 0.341270489688627, -0.932541041450691, 2.10561859987023, -0.577594068295795, 0.0620216013096346, 0.38013475913668, 0.491191134232659, 0.269436791132285), B.2 = c(-2.02518950412056, 0.189771695089096, -1.90217576811978, 0.806017751736168, -1.57663103422269, 0.421075422395284, 0.180285494355628, 0.517201780972531, -0.103244517261033, 0.223056568800453, 0.198225670970054, -1.09567903441137, 1.69205282450068, -0.123316451849542, -0.00805885720988164, 1.00267344070503, 0.803906861012534, -0.247151041455966, 0.259063041738012, 0.097022094603209, -0.88814118572397, 0.716260488991964, -0.588559159628505, 0.221132238952848, -0.683130110785879, 0.685648417861377, -2.45235170530027, -1.73937639235918, 0.734221616517775, -0.520772116201367, 0.33391871514346, -0.122794331987274, 0.57724028154293, -2.68883812975659, -1.28645646853413, -0.542452394373652, -1.7552308835716, -0.198719128601631, -1.00440645245911, -1.17007134485623, 0.52603990002516, 0.850717576751906, 0.736218686316835, 0.0932020384142337, 1.15908918619169, 0.0603772052978726, 0.6631271723821, -0.766469560529952, -0.827805221729054, 0.648173849859918), B.3 = c(0.785926521447533, -0.139142518118026, 1.09626714312102, 0.60011786731798, -1.37837519815434, 1.59306183171488, -1.12809673381621, -0.642602537703011, 1.2265267466373, -1.7848447158113, 1.39908942522199, 0.122868306561592, 0.384004343705099, 0.563194981786881, -0.473899763911188, -1.76026079232867, 0.902580263374671, 0.0594279371068133, 1.75276833979081, -1.40330418045088, -0.168906975872621, 0.4934279458656, -0.725979681011403, 1.34862845638355, -1.72775176696615, -0.0616867022916336, -0.113396480595841, 0.211563545061665, 0.212656773969863, 0.075101355014399, 0.0452364081828674, -0.0284862804618119, 0.0759516915823291, 0.632805514680612, -0.110947560598769, -0.705711008514708, 0.149965858799546, -1.11375698516547, -0.868067953546973, -1.44963971255524, -0.191030627080072, 0.559480569785197, 0.417753634438444, -0.447412209286498, -0.855639345153863, 0.376123923106952, 0.41796150527337, -0.418737397565568, -0.279130785120863, -0.881053972377063 ), C = c(0.196414653936781, 0.769466294619196, -2.02845765870176, 0.595503279573125, -0.0274093402678335, 2.12178383695806, 1.18381579528186, -1.11674213417336, 0.125169078090342, -0.729937996099652, 0.323931680366577, 0.401292546576264, 1.53651454092704, 0.618587035407169, -1.42474735748881, -0.368717375137216, 0.0842921688820445, 1.11728805885442, -0.288527803127431, 0.179461444692101, 0.813072410303759, -0.649936215530812, -1.62911915629914, 0.00283992804557151, 1.19489220158764, -1.5378124477964, -0.204431653325616, 1.49799533322746, -0.192429234884345, -1.04529256149843, -1.57478961412046, -0.74902736678607, 0.063163660165554, 0.138322698630399, -0.686245278000631, 0.626758630966074, -0.533677615176019, -1.72873085472469, -0.871203519056301, 0.762306735801971, 0.303482851700858, -0.181987871126856, 0.343239935560046, -0.631274515797172, -0.465440142890209, 0.526849610478414, -1.87659789034738, -0.403871440090391, -0.86487041617877, 1.443078835829), D.3 = c(-1.82920818015845, 1.19978695284054, 0.230414272882386, -0.0767371760320617, -0.217759774620487, 0.838039492876837, -0.221970057642233, -0.17116774197908, -1.66585467025688, -0.196887559828175, 0.485382572282835, -3.02990175300521, -0.563650141471645, 1.31514810027059, 0.346017972448907, 1.01398275922492, 2.22598176971044, -1.23898838891325, -0.555094517063851, 0.667248673219079, -0.801872948886422, -0.793614331309931, -1.44305122722272, -1.63697650375539, -0.561107965743226, 0.200906811433961, -0.104218220271806, -1.00864423849931, -1.35057575227689, -0.128682435858916, 1.82083191790706, -0.883375466790459, 0.859495338767827, 0.996805838845873, -0.42849845039475, -0.491895469285468, -1.97913828312347, 0.606704253505769, 1.25058870890671, -0.685377559832003, 0.12035269456375, -0.385121530291156, -0.259339979062416, 0.632235098494262, 1.14181490607591, -1.12987901313091, -0.368786230110257, 0.423264054375855, 1.86280024484442, -1.75231932343339), A.Infancy = c(-0.838254518929943, -1.12615495423496, -0.64628785035664, 0.23812500957807, -0.059652659956393, 0.127874079200849, 0.829612832111395, -1.3992496472472, -0.03336913429137, -0.527811882836617, -0.191248089577793, 0.00765157903230601, 0.0207379975043535, 0.200106890921083, 0.0517040177186159, -0.409030580799593, 0.597730533685062, 0.4403446855386, -0.881481140540541, 0.79627014763337, 0.845783218865872, 0.778386503405416, 0.486363490625677, 0.889118428156569, -1.40641968117717, -0.320718341965157, -0.444985009132626, 0.583457755984838, -0.463030370868273, -1.36166961422239, -0.394850135019641, 0.203583825738237, -0.66917223120597, 1.03289853760793, 0.282675844093077, 0.465901300698483, -0.887123721141355, 0.100629065090143, 0.071433465798429, -0.22334566212074, 0.807529968926913, -0.305812381312254, -0.260065632530366, -1.15756938398899, 0.285094098055801, -0.432530471460217, 1.38779997971539, -1.06777899880468, 0.0217622448303255, -0.550446102916927), A.Toddlerhood = c(-0.87744380003437, -0.391627442895531, -0.185259674172291, 0.109212411272259, -0.275956656748692, -0.269946159832467, -0.021663760362375, -0.236103305832099, 0.388450224476514, 0.154217551628649, 0.302937963720788, 1.55991792246305, -0.770134377066586, -1.90937424170836, -1.88342194832306, -1.46463927812016, 0.0799441273422186, -0.264548319200325, 0.229521424532671, -0.408833028168225, 0.354325919380273, 0.992924103281775, 1.29832459997857, -0.695181572331244, -0.708143321920888, 0.842677015536343, -0.908495881448631, -1.09693803018811, 2.46926863392779, 2.08109137897556, -2.35424722827131, -0.0420220254900963, -0.501130047660984, -0.923429020978674, -0.436017717684017, -0.254325518241958, 0.341038721830311, 0.273418556936212, 0.77190325673402, 0.364029387684567, 1.82415957410635, -0.756300867408734, -1.64115605525074, 1.58183160017081, 0.532355532286597, -1.10352957821051, 0.436722735787931, -0.532108070738554, 1.06716581261015, 0.853666117549074)), row.names = c(NA, -50L), class = "data.frame"), na.action = function (object, ...) { if (NCOL(object) == 0) object else { ok <- complete.cases(object) if (all(ok)) object else stop(message) } }): object is not a matrix +#> Error in model.frame.default(~weights, data = structure(list(ID = 1:50, A.1 = c(-3.01417120203218, -0.709479511396879, -2.10058230694861, 1.39963537568644, 0.152644052008996, 0.851906386746958, -0.231568462738449, 0.906622214555922, -0.137836764265414, -1.26156493009137, -0.494477156392904, 0.128760473014243, -0.42786964595634, -1.62471318540572, 0.955413850320851, 2.14254885143944, -1.10576715044288, -1.2342385874093, 0.508605302632191, -1.34917560095693, -0.798572847852018, 0.10338905351475, -0.504567584523054, -1.24259030693167, -1.3016276471688, -0.297171298231211, 0.836748856526425, 0.310300032179193, 1.03111967362923, -0.719679393596545, -0.451710508221201, 0.772435299267611, 0.498073519394335, 0.770977660821068, -0.365842119389758, -1.52297188350773, -0.571414908323238, -0.766359356400891, 0.135211225243478, 0.678288440245289, 0.653403536055341, -1.53114908001886, -0.475822537077443, 0.0433592134638738, 0.18474069667828, -0.482963745232658, -0.36269139954842, 0.245834070612026, 1.63739195779665, -1.70824732506584), A.2 = c(0.643546231066451, 0.396296795251258, 0.158439607949876, 0.734965785625072, -1.44913176637221, 1.48113786013558, 0.7421419101983, -0.286622747275014, -1.05149008917341, 1.80573000475777, -0.193304385496569, 0.360587710221758, -0.486021090545948, -1.45374491250225, -1.02713219170897, 1.95809273788413, 1.20146743931027, 0.907750712390812, 0.224023474497806, 1.34745860860183, 0.445804522686004, -0.421954085616641, -0.0209594689595273, -1.8717516250258, 1.8658763275915, 0.199812758847234, 1.78730814503909, -1.01135296170921, 0.239626353079458, 0.243011688123141, -0.365195559008551, 2.58888322721272, 0.675782305917327, -0.0123686730912537, -0.0352243759229873, -1.92206416224004, 0.1293359059573, -0.40396183982188, 1.02028366778817, 1.19021644915381, 0.215863983668646, -0.1199728655708, 0.360091502348275, 0.177293218324632, 0.770663648939704, -0.851711972324653, -0.496471538402024, 1.64212908610359, -1.57403380277498, -0.832365981232359), A.3 = c(1.80044313580809, 0.000283432420265667, 0.548325820591647, -1.14027294709641, 2.03941848422542, -0.4481257268348, 1.37782490304415, 0.567947485404128, -0.599436189327334, -1.11631425200835, -0.352941536040201, 0.0449073597751439, -0.456178095525502, -0.200260145072023, -0.719069883007849, 0.559103030586489, -0.0638069038230313, -2.11729138227766, -0.705881551164213, 2.21072267754564, 1.08823329078015, 0.334818864660859, -0.797366832863065, -1.13423354755659, -1.63289381916704, 0.855818202104051, -0.386998992528597, 1.32128398803406, 1.00751441459459, -1.13563673402384, -0.104901753378271, -0.12706024032561, -1.01117218077636, -0.06639169441511, -0.753455817300122, -1.23438224430335, -0.800688718219462, 2.23501444230896, -0.565481864425259, -0.0191377168850629, -0.619980232693181, -0.799433047763583, -0.264979446897048, 1.39353343882279, -0.351795424097662, 0.177676305022425, 0.130875341025922, -0.552101503921946, -1.72241330261535, -2.33988439860123), B.1 = c(-0.117870504147702, 0.892713323072952, 0.527805837759018, 2.15661001653761, 0.896867998151497, 1.38252810450973, -0.319977360420102, -0.00596099486976494, 0.662655690911407, -2.48052153716073, 0.21752286166956, -0.302040299985901, -0.0130795060403754, 1.55578443110867, -0.270510600148484, 1.51536490914149, -0.0326819928106209, -1.50117289121175, -1.14699680420684, 0.460563876868581, 0.61436966913312, -1.1714435351955, -1.603814582204, -0.784641019257819, 0.92460907196748, 0.489281344254898, -0.0789671596423739, -0.865532847536881, 0.835617027307121, 1.02769833545639, 0.500944955486219, -0.997809940462165, 0.0624956685518915, -1.01652853213119, 0.0772671982288261, -1.61436684976253, 1.88333158032199, -0.018258725616328, -0.546028039423845, -1.2358622926458, 0.654828042916562, 0.664189165140216, 1.35349536046658, 0.441322287239152, -0.689156309596493, -0.561142415386529, 0.266553066168183, -0.744002653977083, 1.60158134101999, -0.306942689918088), B.2 = c(0.784600373082796, 0.307939281142414, -0.371488528754817, -1.52561070249789, 0.406039056380432, -1.89757729466062, 1.36089878835393, -0.049463416891489, -0.0425401496188881, -0.102498610110252, 0.456043997436182, 1.05361149266464, -0.331724219300738, -0.309969734841848, -0.416678719467905, 0.587674467141001, -0.89324114001486, -1.73679191880592, -0.229093020352182, 0.190487429878567, -1.04829918917211, -0.530935778766187, -1.44387301739695, -0.065182592443476, 0.729925870674186, 0.423402266326648, 0.446805934911859, -0.153019133852254, -0.174411471290704, -0.261230425637194, -0.0662578484080478, 0.636992183209925, 0.580551292473339, -1.45648169575115, -0.662162747906733, 0.474840980458745, 1.73485086001106, -0.19909172236003, 0.317428906847615, -0.50375784988531, 1.86174462512516, 0.046864343681687, -0.242461176437335, 1.59967839579964, 0.103472038084919, 0.332914562277353, 0.133191405059476, -1.50893314448657, -1.23408469773393, -0.472617680285499), B.3 = c(0.467931234974293, -0.309315048836755, -0.00181534509211089, -0.181853564493715, -1.6448136582659, -0.458431699886326, 2.06417697597216, 1.50729879061963, -1.22032934145413, -0.0397107139531794, -0.577403614252552, 0.0804903967831527, 0.706543722001411, 0.114545443475758, -0.720962209319175, -0.774828586097234, -1.48110833306203, -0.693747738310044, 1.08294401171435, 0.73507784701252, -0.139866643724738, 0.225972368342377, -0.357260148595984, -1.82934142847894, 0.546289493708867, -0.550884992315534, -1.52752133130236, 1.12144249112549, -1.13779262000489, -0.0599530892956226, -0.173827765996545, 0.174666928745824, -0.228968956701705, -1.23137265258063, -0.450703695130588, -1.98017900218867, 0.768186417145278, 1.69130214529218, -0.264173960004334, -0.578418917673289, -0.290994324093358, -0.892998078856321, -1.25372773603295, -0.520269353942939, -0.273976637867181, -0.660451022542488, 0.531117930987065, 1.08608141910666, 0.527700761912959, 1.03336537996551 ), C = c(0.423320524819464, -1.76832659686676, 1.3539021654538, 1.14472520238505, -0.206855337760601, 1.28778474354933, -2.43379072478243, 0.971016182493316, 0.000169307189066599, 0.0958705955640823, 0.767049652760775, 0.286456552317082, 0.625784504920801, 0.987377141160143, -0.733971176795504, 0.388083491033607, -1.13352923218095, 0.197289284253208, -1.49826072655474, -0.145059706619928, -1.93351473895216, 1.42801322810042, -1.35477240182294, 1.0695291094397, -0.832532510950475, 0.924687709775212, -1.52798555769831, -0.392433470342023, -1.1102741738243, 0.639850233182215, -0.129102432231047, -0.132677082135567, -0.380275271820333, -1.39687052582027, -2.24837534984139, 1.74217204761827, -1.34471886370847, 0.875075608825621, -0.718604044767392, 0.135450047626409, -0.523732842158685, 0.405755920954302, -0.778316071705631, -1.09158760285508, -0.652849984162044, -0.086911792515381, 1.49237019955233, 0.822760416266383, -1.28029100197961, -0.498372749925622), D.3 = c(0.330494056993302, 0.773029595478747, -0.943027526285626, -1.07995951127834, -0.412032872968875, -0.35221630576588, -0.196804129071446, 0.0520147656967217, -0.551200084966327, 1.42288165033196, -1.98297951204916, 0.964634833408539, -0.339437429109144, -0.927721010823302, -0.57441308262044, -0.313152555700258, -0.397407878266654, -0.792132463107826, 1.01711587202065, -1.5282222437615, 1.74921240926591, -1.11252069264656, 0.64375048921488, 1.11916916255931, 1.0282903083326, 0.19924957128088, -0.604729146980453, -0.812490312784339, 1.59029758958699, 1.78691850700294, 0.522624706501009, 0.154145151774597, 0.536768411570388, 0.0541776063994176, 0.991221201130573, -1.65264345166711, -2.04784461465861, -0.573510257266332, -0.138447771134536, -0.259888857976365, -0.737889081033251, -0.488519138292062, 1.36072957195735, -1.74480014036604, 0.284240787114348, 0.247813017892559, 0.486770501291457, -0.344789395115811, -0.738550337545034, -1.46676192570182), A.Infancy = c(-1.18531248548286, -0.156591358072811, -0.971071349499367, 1.06730058065576, -0.648243857181607, 1.16652212344127, 0.255286723729926, 0.309999733640454, -0.594663426719412, 0.2720825373332, -0.343890770944737, 0.244674091618001, -0.456945368251144, -1.53922904895399, -0.0358591706940595, 2.05032079466178, 0.047850144433695, -0.163243937509244, 0.366314388564998, -0.000858496177549961, -0.176384162583007, -0.159282516050946, -0.262763526741291, -1.55717096597873, 0.28212434021135, -0.0486792696919885, 1.31202850078276, -0.350526464765009, 0.635373013354344, -0.238333852736702, -0.408453033614876, 1.68065926324017, 0.586927912655831, 0.379304493864907, -0.200533247656373, -1.72251802287389, -0.221039501182969, -0.585160598111386, 0.577747446515824, 0.934252444699549, 0.434633759861993, -0.82556097279483, -0.057865517364584, 0.110326215894253, 0.477702172808992, -0.667337858778655, -0.429581468975222, 0.943981578357808, 0.031679077510835, -1.2703066531491), A.Toddlerhood = c(1.80044313580809, 0.000283432420265667, 0.548325820591647, -1.14027294709641, 2.03941848422542, -0.4481257268348, 1.37782490304415, 0.567947485404128, -0.599436189327334, -1.11631425200835, -0.352941536040201, 0.0449073597751439, -0.456178095525502, -0.200260145072023, -0.719069883007849, 0.559103030586489, -0.0638069038230313, -2.11729138227766, -0.705881551164213, 2.21072267754564, 1.08823329078015, 0.334818864660859, -0.797366832863065, -1.13423354755659, -1.63289381916704, 0.855818202104051, -0.386998992528597, 1.32128398803406, 1.00751441459459, -1.13563673402384, -0.104901753378271, -0.12706024032561, -1.01117218077636, -0.06639169441511, -0.753455817300122, -1.23438224430335, -0.800688718219462, 2.23501444230896, -0.565481864425259, -0.0191377168850629, -0.619980232693181, -0.799433047763583, -0.264979446897048, 1.39353343882279, -0.351795424097662, 0.177676305022425, 0.130875341025922, -0.552101503921946, -1.72241330261535, -2.33988439860123)), row.names = c("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50"), class = "data.frame"), na.action = function (object, ...) { if (NCOL(object) == 0) object else { ok <- complete.cases(object) if (all(ok)) object else stop(message) }}): object is not a matrix diff --git a/reference/make_love_plot.html b/reference/make_love_plot.html index 048c0717..ff32aab1 100644 --- a/reference/make_love_plot.html +++ b/reference/make_love_plot.html @@ -144,17 +144,17 @@

Examples

#> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 1 is: #> A.1 ~ C -#> <environment: 0x55c8bafeba78> +#> <environment: 0x5616553f0e08> #> #> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 2 is: #> A.2 ~ A.1 + B.1 + C -#> <environment: 0x55c8bafeba78> +#> <environment: 0x5616553f0e08> #> #> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 3 is: #> A.3 ~ A.1 + A.2 + B.1 + B.2 + C -#> <environment: 0x55c8bafeba78> +#> <environment: 0x5616553f0e08> #> test <- data.frame(ID = 1:50, diff --git a/reference/trimWeights.html b/reference/trimWeights.html index 86e428d6..c4b9c074 100644 --- a/reference/trimWeights.html +++ b/reference/trimWeights.html @@ -115,17 +115,17 @@

Examples

#> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 1 is: #> A.1 ~ C -#> <environment: 0x55c8b45ad458> +#> <environment: 0x561654aba840> #> #> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 2 is: #> A.2 ~ B.1 + C -#> <environment: 0x55c8b45ad458> +#> <environment: 0x561654aba840> #> #> USER ALERT: Please manually inspect the full balancing formula below: #> The full formula for A-D.3 at A time point 3 is: #> A.3 ~ B.1 + B.2 + C -#> <environment: 0x55c8b45ad458> +#> <environment: 0x561654aba840> #> test <- data.frame(ID = 1:50,