From b2aa1954cd2ef4529958d8667f60627b10a8b622 Mon Sep 17 00:00:00 2001 From: clarkliming Date: Tue, 13 Aug 2024 03:15:47 +0000 Subject: [PATCH] [actions skip] Built site for RobinCar2@419c99d3ea8de36fe8905dac2467518472d61c6b --- main/404.html | 6 ++++++ main/articles/index.html | 6 ++++++ main/articles/intro.html | 6 ++++++ main/authors.html | 6 ++++++ main/index.html | 6 ++++++ main/news/index.html | 6 ++++++ main/reference/RobinCar2-package.html | 6 ++++++ main/reference/bias.html | 6 ++++++ main/reference/contrast.html | 6 ++++++ main/reference/dummy_data.html | 6 ++++++ main/reference/h_adjust_pi.html | 6 ++++++ main/reference/h_get_erb.html | 6 ++++++ main/reference/h_get_vars.html | 6 ++++++ main/reference/h_lower_tri_idx.html | 6 ++++++ main/reference/index.html | 6 ++++++ main/reference/predict_counterfactual.html | 6 ++++++ main/reference/prediction_cf_methods.html | 6 ++++++ main/reference/treatment_effect.html | 6 ++++++ main/reference/vcovANHECOVA.html | 6 ++++++ main/search.json | 2 +- pkgdown.yml | 5 ++--- 21 files changed, 117 insertions(+), 4 deletions(-) diff --git a/main/404.html b/main/404.html index df921bc..0fcbe84 100644 --- a/main/404.html +++ b/main/404.html @@ -44,6 +44,12 @@ + + diff --git a/main/articles/index.html b/main/articles/index.html index cf9250a..d0335f1 100644 --- a/main/articles/index.html +++ b/main/articles/index.html @@ -27,6 +27,12 @@ diff --git a/main/articles/intro.html b/main/articles/intro.html index 789f752..84e0d68 100644 --- a/main/articles/intro.html +++ b/main/articles/intro.html @@ -44,6 +44,12 @@ + + diff --git a/main/authors.html b/main/authors.html index 5b8ab5f..7683436 100644 --- a/main/authors.html +++ b/main/authors.html @@ -27,6 +27,12 @@ diff --git a/main/index.html b/main/index.html index 67e38d5..446b40d 100644 --- a/main/index.html +++ b/main/index.html @@ -46,6 +46,12 @@ + + diff --git a/main/news/index.html b/main/news/index.html index 8568a68..d87e035 100644 --- a/main/news/index.html +++ b/main/news/index.html @@ -27,6 +27,12 @@ diff --git a/main/reference/RobinCar2-package.html b/main/reference/RobinCar2-package.html index b8aec1e..3b241f9 100644 --- a/main/reference/RobinCar2-package.html +++ b/main/reference/RobinCar2-package.html @@ -27,6 +27,12 @@ diff --git a/main/reference/bias.html b/main/reference/bias.html index 58700d9..e9af2b8 100644 --- a/main/reference/bias.html +++ b/main/reference/bias.html @@ -27,6 +27,12 @@ diff --git a/main/reference/contrast.html b/main/reference/contrast.html index f81cd4e..f7379b6 100644 --- a/main/reference/contrast.html +++ b/main/reference/contrast.html @@ -27,6 +27,12 @@ diff --git a/main/reference/dummy_data.html b/main/reference/dummy_data.html index a39261f..41bc468 100644 --- a/main/reference/dummy_data.html +++ b/main/reference/dummy_data.html @@ -27,6 +27,12 @@ diff --git a/main/reference/h_adjust_pi.html b/main/reference/h_adjust_pi.html index e4aaddc..704c1a9 100644 --- a/main/reference/h_adjust_pi.html +++ b/main/reference/h_adjust_pi.html @@ -27,6 +27,12 @@ diff --git a/main/reference/h_get_erb.html b/main/reference/h_get_erb.html index 4991a47..ca7c51b 100644 --- a/main/reference/h_get_erb.html +++ b/main/reference/h_get_erb.html @@ -27,6 +27,12 @@ diff --git a/main/reference/h_get_vars.html b/main/reference/h_get_vars.html index 2a1f627..f2ab646 100644 --- a/main/reference/h_get_vars.html +++ b/main/reference/h_get_vars.html @@ -27,6 +27,12 @@ diff --git a/main/reference/h_lower_tri_idx.html b/main/reference/h_lower_tri_idx.html index 92c252a..6f62ffa 100644 --- a/main/reference/h_lower_tri_idx.html +++ b/main/reference/h_lower_tri_idx.html @@ -27,6 +27,12 @@ diff --git a/main/reference/index.html b/main/reference/index.html index 0b33160..341f8f3 100644 --- a/main/reference/index.html +++ b/main/reference/index.html @@ -27,6 +27,12 @@ diff --git a/main/reference/predict_counterfactual.html b/main/reference/predict_counterfactual.html index 8b77cf2..ec678cd 100644 --- a/main/reference/predict_counterfactual.html +++ b/main/reference/predict_counterfactual.html @@ -27,6 +27,12 @@ diff --git a/main/reference/prediction_cf_methods.html b/main/reference/prediction_cf_methods.html index 3570aa6..4e4a7a7 100644 --- a/main/reference/prediction_cf_methods.html +++ b/main/reference/prediction_cf_methods.html @@ -27,6 +27,12 @@ diff --git a/main/reference/treatment_effect.html b/main/reference/treatment_effect.html index cbdd771..fe6ea2e 100644 --- a/main/reference/treatment_effect.html +++ b/main/reference/treatment_effect.html @@ -27,6 +27,12 @@ diff --git a/main/reference/vcovANHECOVA.html b/main/reference/vcovANHECOVA.html index 504e076..f5cd82e 100644 --- a/main/reference/vcovANHECOVA.html +++ b/main/reference/vcovANHECOVA.html @@ -27,6 +27,12 @@ diff --git a/main/search.json b/main/search.json index dea0f8a..1958932 100644 --- a/main/search.json +++ b/main/search.json @@ -1 +1 @@ -[{"path":"https://openpharma.github.io/RobinCar2/articles/intro.html","id":"brief-introduction-of-robincar2","dir":"Articles","previous_headings":"","what":"Brief Introduction of RobinCar2","title":"Introduction","text":"","code":"library(RobinCar2)"},{"path":"https://openpharma.github.io/RobinCar2/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"openpharma. Author, maintainer.","code":""},{"path":"https://openpharma.github.io/RobinCar2/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"openpharma (2024). RobinCar2: R Package Template. R package version 0.1.0.9000, https://github.com/openpharma/RobinCar2/.","code":"@Manual{, title = {RobinCar2: R Package Template}, author = {{openpharma}}, year = {2024}, note = {R package version 0.1.0.9000}, url = {https://github.com/openpharma/RobinCar2/}, }"},{"path":"https://openpharma.github.io/RobinCar2/index.html","id":"robincar2","dir":"","previous_headings":"","what":"R Package Template","title":"R Package Template","text":"Short description package","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/RobinCar2-package.html","id":null,"dir":"Reference","previous_headings":"","what":"RobinCar2 Package — RobinCar2-package","title":"RobinCar2 Package — RobinCar2-package","text":"RobinCar2 implements unbiased prediction robust inference variance fit R.","code":""},{"path":[]},{"path":"https://openpharma.github.io/RobinCar2/reference/RobinCar2-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"RobinCar2 Package — RobinCar2-package","text":"Maintainer: openpharma openpharma@example.com","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/bias.html","id":null,"dir":"Reference","previous_headings":"","what":"Prediction Bias — bias","title":"Prediction Bias — bias","text":"Obtain prediction bias within stratum.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/bias.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Prediction Bias — bias","text":"","code":"bias(residual, treatment, group_idx)"},{"path":"https://openpharma.github.io/RobinCar2/reference/bias.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Prediction Bias — bias","text":"residual (numeric) residuals. treatment (factor) treatment. group_idx (character) stratum index.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/bias.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Prediction Bias — bias","text":"Numeric matrix bias stratum.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/contrast.html","id":null,"dir":"Reference","previous_headings":"","what":"Contrast Functions and Jacobians — h_diff","title":"Contrast Functions and Jacobians — h_diff","text":"Contrast Functions Jacobians","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/contrast.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Contrast Functions and Jacobians — h_diff","text":"","code":"h_diff(x) h_jac_diff(x) h_ratio(x) h_jac_ratio(x) h_odds_ratio(x) h_jac_odds_ratio(x)"},{"path":"https://openpharma.github.io/RobinCar2/reference/contrast.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Contrast Functions and Jacobians — h_diff","text":"x (numeric) Vector values.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/contrast.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Contrast Functions and Jacobians — h_diff","text":"Vector contrasts, matrix jacobians.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/contrast.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Contrast Functions and Jacobians — h_diff","text":"","code":"h_diff(1:3) #> [1] 1 2 1 h_jac_ratio(1:3) #> [,1] [,2] [,3] #> [1,] -2 1.00 0.0 #> [2,] -3 0.00 1.0 #> [3,] 0 -0.75 0.5"},{"path":"https://openpharma.github.io/RobinCar2/reference/dummy_data.html","id":null,"dir":"Reference","previous_headings":"","what":"Dummy Trial Data with Permute-Block Randomization — dummy_data","title":"Dummy Trial Data with Permute-Block Randomization — dummy_data","text":"dataset contains dummy trial data permute block randomization.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/dummy_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Dummy Trial Data with Permute-Block Randomization — dummy_data","text":"","code":"dummy_data"},{"path":"https://openpharma.github.io/RobinCar2/reference/dummy_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Dummy Trial Data with Permute-Block Randomization — dummy_data","text":"data frame 600 rows 7 columns: id ID patients. treatment treatment assignment, \"pbo\", \"trt1\" \"trt2\" s1 first stratification variable, \"\" \"b\". s2 second stratification variable, \"c\" \"d\". covar covariate following normal distribution. y continuous response. y_b binary response.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/dummy_data.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Dummy Trial Data with Permute-Block Randomization — dummy_data","text":"data generated create_dummy.R script.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/h_adjust_pi.html","id":null,"dir":"Reference","previous_headings":"","what":"Obtain Adjustment for Proportion of Treatment Assignment — h_adjust_pi","title":"Obtain Adjustment for Proportion of Treatment Assignment — h_adjust_pi","text":"Obtain Adjustment Proportion Treatment Assignment","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/h_adjust_pi.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Obtain Adjustment for Proportion of Treatment Assignment — h_adjust_pi","text":"","code":"h_adjust_pi(pi)"},{"path":"https://openpharma.github.io/RobinCar2/reference/h_adjust_pi.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Obtain Adjustment for Proportion of Treatment Assignment — h_adjust_pi","text":"pi (numeric) vector proportions.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/h_adjust_pi.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Obtain Adjustment for Proportion of Treatment Assignment — h_adjust_pi","text":"Numeric matrix.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/h_get_erb.html","id":null,"dir":"Reference","previous_headings":"","what":"Obtain Adjustment for Covariance Matrix — h_get_erb","title":"Obtain Adjustment for Covariance Matrix — h_get_erb","text":"Obtain Adjustment Covariance Matrix","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/h_get_erb.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Obtain Adjustment for Covariance Matrix — h_get_erb","text":"","code":"h_get_erb(resi, group_idx, trt, pi, randomization)"},{"path":"https://openpharma.github.io/RobinCar2/reference/h_get_erb.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Obtain Adjustment for Covariance Matrix — h_get_erb","text":"resi (numeric) vector residuals. group_idx (list integer) index groups. trt (factor) treatment assignment. pi (numeric) proportion treatment assignment. randomization (string) name randomization schema.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/h_get_vars.html","id":null,"dir":"Reference","previous_headings":"","what":"Extract Variable Names — h_get_vars","title":"Extract Variable Names — h_get_vars","text":"Extract Variable Names","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/h_get_vars.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Extract Variable Names — h_get_vars","text":"","code":"h_get_vars(treatment)"},{"path":"https://openpharma.github.io/RobinCar2/reference/h_get_vars.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Extract Variable Names — h_get_vars","text":"treatment (string formula) string name treatment, formula.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/h_get_vars.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Extract Variable Names — h_get_vars","text":"list two elements, treatmetn strata.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/h_get_vars.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Extract Variable Names — h_get_vars","text":"Extract formula elements, including treatment strata.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/h_lower_tri_idx.html","id":null,"dir":"Reference","previous_headings":"","what":"Lower Triangular Index — h_lower_tri_idx","title":"Lower Triangular Index — h_lower_tri_idx","text":"Lower Triangular Index","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/h_lower_tri_idx.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Lower Triangular Index — h_lower_tri_idx","text":"","code":"h_lower_tri_idx(n)"},{"path":"https://openpharma.github.io/RobinCar2/reference/h_lower_tri_idx.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Lower Triangular Index — h_lower_tri_idx","text":"n (int) Number rows/columns.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/h_lower_tri_idx.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Lower Triangular Index — h_lower_tri_idx","text":"Matrix lower triangular indices.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/predict_counterfactual.html","id":null,"dir":"Reference","previous_headings":"","what":"Counterfactual Prediction — predict_counterfactual","title":"Counterfactual Prediction — predict_counterfactual","text":"Obtain counterfactual prediction fit.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/predict_counterfactual.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Counterfactual Prediction — predict_counterfactual","text":"","code":"predict_counterfactual(fit, treatment, data, unbiased)"},{"path":"https://openpharma.github.io/RobinCar2/reference/predict_counterfactual.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Counterfactual Prediction — predict_counterfactual","text":"fit fitted object. treatment (string formula) treatment variable string, formula form treatment ~ strata(s). data (data.frame) raw dataset. unbiased (flag) indicator whether remove potential bias prediction.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/predict_counterfactual.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Counterfactual Prediction — predict_counterfactual","text":"Numeric matrix counter factual prediction.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/prediction_cf_methods.html","id":null,"dir":"Reference","previous_headings":"","what":"S3 Methods for prediction_cf — prediction_cf_methods","title":"S3 Methods for prediction_cf — prediction_cf_methods","text":"S3 Methods prediction_cf","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/prediction_cf_methods.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"S3 Methods for prediction_cf — prediction_cf_methods","text":"","code":"# S3 method for class 'prediction_cf' print(x, ...)"},{"path":"https://openpharma.github.io/RobinCar2/reference/prediction_cf_methods.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"S3 Methods for prediction_cf — prediction_cf_methods","text":"x (prediction_cf) obtained counter-factual prediction object.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/prediction_cf_methods.html","id":"functions","dir":"Reference","previous_headings":"","what":"Functions","title":"S3 Methods for prediction_cf — prediction_cf_methods","text":"print(prediction_cf): prints prediction_cf object.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/treatment_effect.html","id":null,"dir":"Reference","previous_headings":"","what":"Treatment Effect — treatment_effect","title":"Treatment Effect — treatment_effect","text":"Obtain treatment effect variance counter-factual prediction","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/treatment_effect.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Treatment Effect — treatment_effect","text":"","code":"treatment_effect(object, pair, variance, eff_measure, eff_jacobian, ...) difference(object, ...) risk_ratio(object, ...) odds_ratio(object, ...)"},{"path":"https://openpharma.github.io/RobinCar2/reference/treatment_effect.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Treatment Effect — treatment_effect","text":"object Object obtain treatment effect. pair (integer character) Names index treatment levels. variance (function) Variance function. eff_measure (function) Treatment effect measurement function. eff_jacobian (function) Treatment effect jacobian function. ... Additional arguments variance.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/vcovANHECOVA.html","id":null,"dir":"Reference","previous_headings":"","what":"ANHECOVA Covariance — vcovANHECOVA","title":"ANHECOVA Covariance — vcovANHECOVA","text":"ANHECOVA Covariance","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/vcovANHECOVA.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"ANHECOVA Covariance — vcovANHECOVA","text":"","code":"vcovANHECOVA(x, decompose = TRUE, randomization = \"simple\", ...)"},{"path":"https://openpharma.github.io/RobinCar2/reference/vcovANHECOVA.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"ANHECOVA Covariance — vcovANHECOVA","text":"x (prediction_cf) Counter-factual prediction. decompose (flag) whether use decompose method calculate variance. randomization (string) randomization method. ... used.","code":""},{"path":"https://openpharma.github.io/RobinCar2/reference/vcovANHECOVA.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"ANHECOVA Covariance — vcovANHECOVA","text":"Named covariance matrix.","code":""},{"path":[]},{"path":"https://openpharma.github.io/RobinCar2/news/index.html","id":"new-features-0-1-0-9000","dir":"Changelog","previous_headings":"","what":"New features","title":"RobinCar2 0.1.0.9000","text":"Add unbiased counter-factual prediction. Add robust sandwich variance marginal treatment effect.","code":""}] +[{"path":"https://openpharma.github.io/RobinCar2/main/articles/intro.html","id":"brief-introduction-of-robincar2","dir":"Articles","previous_headings":"","what":"Brief Introduction of RobinCar2","title":"Introduction","text":"","code":"library(RobinCar2)"},{"path":"https://openpharma.github.io/RobinCar2/main/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"openpharma. Author, maintainer.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"openpharma (2024). RobinCar2: R Package Template. R package version 0.1.0.9000, https://github.com/openpharma/RobinCar2/.","code":"@Manual{, title = {RobinCar2: R Package Template}, author = {{openpharma}}, year = {2024}, note = {R package version 0.1.0.9000}, url = {https://github.com/openpharma/RobinCar2/}, }"},{"path":"https://openpharma.github.io/RobinCar2/main/index.html","id":"robincar2","dir":"","previous_headings":"","what":"R Package Template","title":"R Package Template","text":"Short description package","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/RobinCar2-package.html","id":null,"dir":"Reference","previous_headings":"","what":"RobinCar2 Package — RobinCar2-package","title":"RobinCar2 Package — RobinCar2-package","text":"RobinCar2 implements unbiased prediction robust inference variance fit R.","code":""},{"path":[]},{"path":"https://openpharma.github.io/RobinCar2/main/reference/RobinCar2-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"RobinCar2 Package — RobinCar2-package","text":"Maintainer: openpharma openpharma@example.com","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/bias.html","id":null,"dir":"Reference","previous_headings":"","what":"Prediction Bias — bias","title":"Prediction Bias — bias","text":"Obtain prediction bias within stratum.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/bias.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Prediction Bias — bias","text":"","code":"bias(residual, treatment, group_idx)"},{"path":"https://openpharma.github.io/RobinCar2/main/reference/bias.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Prediction Bias — bias","text":"residual (numeric) residuals. treatment (factor) treatment. group_idx (character) stratum index.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/bias.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Prediction Bias — bias","text":"Numeric matrix bias stratum.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/contrast.html","id":null,"dir":"Reference","previous_headings":"","what":"Contrast Functions and Jacobians — h_diff","title":"Contrast Functions and Jacobians — h_diff","text":"Contrast Functions Jacobians","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/contrast.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Contrast Functions and Jacobians — h_diff","text":"","code":"h_diff(x) h_jac_diff(x) h_ratio(x) h_jac_ratio(x) h_odds_ratio(x) h_jac_odds_ratio(x)"},{"path":"https://openpharma.github.io/RobinCar2/main/reference/contrast.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Contrast Functions and Jacobians — h_diff","text":"x (numeric) Vector values.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/contrast.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Contrast Functions and Jacobians — h_diff","text":"Vector contrasts, matrix jacobians.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/contrast.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Contrast Functions and Jacobians — h_diff","text":"","code":"h_diff(1:3) #> [1] 1 2 1 h_jac_ratio(1:3) #> [,1] [,2] [,3] #> [1,] -2 1.00 0.0 #> [2,] -3 0.00 1.0 #> [3,] 0 -0.75 0.5"},{"path":"https://openpharma.github.io/RobinCar2/main/reference/dummy_data.html","id":null,"dir":"Reference","previous_headings":"","what":"Dummy Trial Data with Permute-Block Randomization — dummy_data","title":"Dummy Trial Data with Permute-Block Randomization — dummy_data","text":"dataset contains dummy trial data permute block randomization.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/dummy_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Dummy Trial Data with Permute-Block Randomization — dummy_data","text":"","code":"dummy_data"},{"path":"https://openpharma.github.io/RobinCar2/main/reference/dummy_data.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Dummy Trial Data with Permute-Block Randomization — dummy_data","text":"data frame 600 rows 7 columns: id ID patients. treatment treatment assignment, \"pbo\", \"trt1\" \"trt2\" s1 first stratification variable, \"\" \"b\". s2 second stratification variable, \"c\" \"d\". covar covariate following normal distribution. y continuous response. y_b binary response.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/dummy_data.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Dummy Trial Data with Permute-Block Randomization — dummy_data","text":"data generated create_dummy.R script.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/h_adjust_pi.html","id":null,"dir":"Reference","previous_headings":"","what":"Obtain Adjustment for Proportion of Treatment Assignment — h_adjust_pi","title":"Obtain Adjustment for Proportion of Treatment Assignment — h_adjust_pi","text":"Obtain Adjustment Proportion Treatment Assignment","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/h_adjust_pi.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Obtain Adjustment for Proportion of Treatment Assignment — h_adjust_pi","text":"","code":"h_adjust_pi(pi)"},{"path":"https://openpharma.github.io/RobinCar2/main/reference/h_adjust_pi.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Obtain Adjustment for Proportion of Treatment Assignment — h_adjust_pi","text":"pi (numeric) vector proportions.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/h_adjust_pi.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Obtain Adjustment for Proportion of Treatment Assignment — h_adjust_pi","text":"Numeric matrix.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/h_get_erb.html","id":null,"dir":"Reference","previous_headings":"","what":"Obtain Adjustment for Covariance Matrix — h_get_erb","title":"Obtain Adjustment for Covariance Matrix — h_get_erb","text":"Obtain Adjustment Covariance Matrix","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/h_get_erb.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Obtain Adjustment for Covariance Matrix — h_get_erb","text":"","code":"h_get_erb(resi, group_idx, trt, pi, randomization)"},{"path":"https://openpharma.github.io/RobinCar2/main/reference/h_get_erb.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Obtain Adjustment for Covariance Matrix — h_get_erb","text":"resi (numeric) vector residuals. group_idx (list integer) index groups. trt (factor) treatment assignment. pi (numeric) proportion treatment assignment. randomization (string) name randomization schema.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/h_get_vars.html","id":null,"dir":"Reference","previous_headings":"","what":"Extract Variable Names — h_get_vars","title":"Extract Variable Names — h_get_vars","text":"Extract Variable Names","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/h_get_vars.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Extract Variable Names — h_get_vars","text":"","code":"h_get_vars(treatment)"},{"path":"https://openpharma.github.io/RobinCar2/main/reference/h_get_vars.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Extract Variable Names — h_get_vars","text":"treatment (string formula) string name treatment, formula.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/h_get_vars.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Extract Variable Names — h_get_vars","text":"list two elements, treatmetn strata.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/h_get_vars.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Extract Variable Names — h_get_vars","text":"Extract formula elements, including treatment strata.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/h_lower_tri_idx.html","id":null,"dir":"Reference","previous_headings":"","what":"Lower Triangular Index — h_lower_tri_idx","title":"Lower Triangular Index — h_lower_tri_idx","text":"Lower Triangular Index","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/h_lower_tri_idx.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Lower Triangular Index — h_lower_tri_idx","text":"","code":"h_lower_tri_idx(n)"},{"path":"https://openpharma.github.io/RobinCar2/main/reference/h_lower_tri_idx.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Lower Triangular Index — h_lower_tri_idx","text":"n (int) Number rows/columns.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/h_lower_tri_idx.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Lower Triangular Index — h_lower_tri_idx","text":"Matrix lower triangular indices.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/predict_counterfactual.html","id":null,"dir":"Reference","previous_headings":"","what":"Counterfactual Prediction — predict_counterfactual","title":"Counterfactual Prediction — predict_counterfactual","text":"Obtain counterfactual prediction fit.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/predict_counterfactual.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Counterfactual Prediction — predict_counterfactual","text":"","code":"predict_counterfactual(fit, treatment, data, unbiased)"},{"path":"https://openpharma.github.io/RobinCar2/main/reference/predict_counterfactual.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Counterfactual Prediction — predict_counterfactual","text":"fit fitted object. treatment (string formula) treatment variable string, formula form treatment ~ strata(s). data (data.frame) raw dataset. unbiased (flag) indicator whether remove potential bias prediction.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/predict_counterfactual.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Counterfactual Prediction — predict_counterfactual","text":"Numeric matrix counter factual prediction.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/prediction_cf_methods.html","id":null,"dir":"Reference","previous_headings":"","what":"S3 Methods for prediction_cf — prediction_cf_methods","title":"S3 Methods for prediction_cf — prediction_cf_methods","text":"S3 Methods prediction_cf","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/prediction_cf_methods.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"S3 Methods for prediction_cf — prediction_cf_methods","text":"","code":"# S3 method for class 'prediction_cf' print(x, ...)"},{"path":"https://openpharma.github.io/RobinCar2/main/reference/prediction_cf_methods.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"S3 Methods for prediction_cf — prediction_cf_methods","text":"x (prediction_cf) obtained counter-factual prediction object.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/prediction_cf_methods.html","id":"functions","dir":"Reference","previous_headings":"","what":"Functions","title":"S3 Methods for prediction_cf — prediction_cf_methods","text":"print(prediction_cf): prints prediction_cf object.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/treatment_effect.html","id":null,"dir":"Reference","previous_headings":"","what":"Treatment Effect — treatment_effect","title":"Treatment Effect — treatment_effect","text":"Obtain treatment effect variance counter-factual prediction","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/treatment_effect.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Treatment Effect — treatment_effect","text":"","code":"treatment_effect(object, pair, variance, eff_measure, eff_jacobian, ...) difference(object, ...) risk_ratio(object, ...) odds_ratio(object, ...)"},{"path":"https://openpharma.github.io/RobinCar2/main/reference/treatment_effect.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Treatment Effect — treatment_effect","text":"object Object obtain treatment effect. pair (integer character) Names index treatment levels. variance (function) Variance function. eff_measure (function) Treatment effect measurement function. eff_jacobian (function) Treatment effect jacobian function. ... Additional arguments variance.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/vcovANHECOVA.html","id":null,"dir":"Reference","previous_headings":"","what":"ANHECOVA Covariance — vcovANHECOVA","title":"ANHECOVA Covariance — vcovANHECOVA","text":"ANHECOVA Covariance","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/vcovANHECOVA.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"ANHECOVA Covariance — vcovANHECOVA","text":"","code":"vcovANHECOVA(x, decompose = TRUE, randomization = \"simple\", ...)"},{"path":"https://openpharma.github.io/RobinCar2/main/reference/vcovANHECOVA.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"ANHECOVA Covariance — vcovANHECOVA","text":"x (prediction_cf) Counter-factual prediction. decompose (flag) whether use decompose method calculate variance. randomization (string) randomization method. ... used.","code":""},{"path":"https://openpharma.github.io/RobinCar2/main/reference/vcovANHECOVA.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"ANHECOVA Covariance — vcovANHECOVA","text":"Named covariance matrix.","code":""},{"path":[]},{"path":"https://openpharma.github.io/RobinCar2/main/news/index.html","id":"new-features-0-1-0-9000","dir":"Changelog","previous_headings":"","what":"New features","title":"RobinCar2 0.1.0.9000","text":"Add unbiased counter-factual prediction. Add robust sandwich variance marginal treatment effect.","code":""}] diff --git a/pkgdown.yml b/pkgdown.yml index 958eb89..5d389ec 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -1,10 +1,9 @@ pandoc: '3.2' -pkgdown: 2.0.9 +pkgdown: 2.1.0 pkgdown_sha: ~ articles: intro: intro.html -last_built: 2024-07-15T05:53Z +last_built: 2024-08-13T03:15Z urls: reference: https://openpharma.github.io/RobinCar2/main/reference article: https://openpharma.github.io/RobinCar2/main/articles -