{
  "_id": "6a48c7e1b5e98c40829fb9eb",
  "Package": "OptimalRerandExpDesigns",
  "Type": "Package",
  "Title": "Optimal Rerandomization Experimental Designs",
  "Version": "1.1",
  "Date": "2021-01-21",
  "Author": "Adam Kapelner, Michael Sklar, Abba M. Krieger and David Azriel",
  "Maintainer": "Adam Kapelner <kapelner@qc.cuny.edu>",
  "Description": "This is a tool to find the optimal rerandomization\nthreshold in non-sequential experiments. We offer three\nprocedures.",
  "License": "GPL-3",
  "RoxygenNote": "7.1.0",
  "Config/pak/sysreqs": "cmake make default-jdk libicu-dev libuv1-dev\nlibxml2-dev",
  "Repository": "https://kapelner.r-universe.dev",
  "Date/Publication": "2021-01-22 00:25:35 UTC",
  "RemoteUrl": "https://github.com/kapelner/optimalrerandexpdesigns",
  "RemoteRef": "HEAD",
  "RemoteSha": "fc6033a37d48a36291ea6c5b20c34c92c6fa4caa",
  "RemoteSubdir": "OptimalRerandExpDesigns",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-04 07:59:05 UTC",
    "User": "root"
  },
  "_user": "kapelner",
  "_type": "src",
  "_file": "OptimalRerandExpDesigns_1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/f9b6e111b51e26beca7ab86e5cdd5ff69fc0b70782fa97ca41e3d4652ef20473",
  "_filesize": 141179,
  "_sha256": "f9b6e111b51e26beca7ab86e5cdd5ff69fc0b70782fa97ca41e3d4652ef20473",
  "_expires": "2026-10-12T08:44:15.000Z",
  "_created": "2026-07-04T07:59:05.000Z",
  "_published": "2026-07-04T08:44:17.364Z",
  "_jobs": [
    {
      "job": 85115923809,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8079848296"
    },
    {
      "job": 85115923810,
      "time": 166,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079849483"
    },
    {
      "job": 85115923808,
      "time": 116,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8080142655"
    },
    {
      "job": 85115923806,
      "time": 90,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8080138819"
    },
    {
      "job": 85115732124,
      "time": 192,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079827792"
    },
    {
      "job": 85115923824,
      "time": 163,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8079848883"
    },
    {
      "job": 85115923827,
      "time": 107,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8079841530"
    },
    {
      "job": 85115923822,
      "time": 92,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8079839400"
    },
    {
      "job": 85115923820,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079840324"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/kapelner/actions/runs/28699766921",
  "_status": "success",
  "_upstream": "https://github.com/kapelner/optimalrerandexpdesigns",
  "_commit": {
    "id": "fc6033a37d48a36291ea6c5b20c34c92c6fa4caa",
    "author": "Adam Kapelner <kapelner@gmail.com>",
    "committer": "Adam Kapelner <kapelner@gmail.com>",
    "message": "v1.1 released along with code to regenerate figures in the publication\n",
    "time": 1611275135
  },
  "_maintainer": {
    "name": "Adam Kapelner",
    "email": "kapelner@qc.cuny.edu",
    "login": "kapelner",
    "description": "I'm an Assoc. Prof. of Math at Queens College (NYC) where I run the undergrad Data Science major, my PhD is in Statistics, my research is in experimental design",
    "uuid": 658168
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.0",
      "role": "Depends"
    },
    {
      "package": "momentchi2",
      "version": ">= 0.1.5",
      "role": "Depends"
    },
    {
      "package": "GreedyExperimentalDesign",
      "version": ">= 1.3",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    }
  ],
  "_owner": "kapelner",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "kapelner",
      "count": 3,
      "uuid": 658168
    }
  ],
  "_userbio": {
    "uuid": 658168,
    "type": "user",
    "name": "Prof. Adam Kapelner",
    "followers": 124,
    "description": "I'm an Assoc. Prof. of Math at Queens College (NYC) where I run the undergrad Data Science major, my PhD is in Statistics, my research is in experimental design"
  },
  "_downloads": {
    "count": 254,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/OptimalRerandExpDesigns"
  },
  "_devurl": "https://github.com/kapelner/optimalrerandexpdesigns",
  "_searchresults": 1,
  "_topics": [
    "openjdk"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/OptimalRerandExpDesigns.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/kapelner/optimalrerandexpdesigns",
  "_realowner": "kapelner",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1",
      "date": "2021-01-28"
    }
  ],
  "_exports": [
    "complete_randomization_plus_one_min_one",
    "complete_randomization_with_forced_balance_plus_one_min_one",
    "compute_objective_val_plus_one_min_one_enc",
    "frob_norm_sq",
    "frob_norm_sq_debiased",
    "frob_norm_sq_debiased_times_matrix",
    "generate_W_base_and_sort",
    "optimal_rerandomization_exact",
    "optimal_rerandomization_normality_assumed",
    "optimal_rerandomization_tail_approx"
  ],
  "_help": [
    {
      "page": "complete_randomization_plus_one_min_one",
      "title": "Implements the complete randomization design (CRD) AKA Bernoulli Trial",
      "topics": [
        "complete_randomization_plus_one_min_one"
      ]
    },
    {
      "page": "complete_randomization_with_forced_balance_plus_one_min_one",
      "title": "Implements the balanced complete randomization design (BCRD)",
      "topics": [
        "complete_randomization_with_forced_balance_plus_one_min_one"
      ]
    },
    {
      "page": "compute_objective_val_plus_one_min_one_enc",
      "title": "Returns the objective value given a design vector as well an an objective function. This is code duplication since this is implemented within Java. This is only to be run if...",
      "topics": [
        "compute_objective_val_plus_one_min_one_enc"
      ]
    },
    {
      "page": "frob_norm_sq",
      "title": "Naive Frobenius Norm Squared",
      "topics": [
        "frob_norm_sq"
      ]
    },
    {
      "page": "frob_norm_sq_debiased",
      "title": "Debiased Frobenius Norm Squared Var-Cov matrix",
      "topics": [
        "frob_norm_sq_debiased"
      ]
    },
    {
      "page": "frob_norm_sq_debiased_times_matrix",
      "title": "Debiased Frobenius Norm Squared Constant Times Var-Cov matrix",
      "topics": [
        "frob_norm_sq_debiased_times_matrix"
      ]
    },
    {
      "page": "generate_W_base_and_sort",
      "title": "Generate Base Assignments and Sorts",
      "topics": [
        "generate_W_base_and_sort"
      ]
    },
    {
      "page": "optimal_rerandomization_exact",
      "title": "Find the Optimal Rerandomization Design Exactly",
      "topics": [
        "optimal_rerandomization_exact"
      ]
    },
    {
      "page": "optimal_rerandomization_normality_assumed",
      "title": "Find the Optimal Rerandomization Design Under the Gaussian Approximation",
      "topics": [
        "optimal_rerandomization_normality_assumed"
      ]
    },
    {
      "page": "optimal_rerandomization_tail_approx",
      "title": "Find the Optimal Rerandomization Design Under the Tail and Kurtosis Approximation",
      "topics": [
        "optimal_rerandomization_tail_approx"
      ]
    },
    {
      "page": "OptimalRerandExpDesigns",
      "title": "Optimal Rerandomization Threshold Search for Experimental Design",
      "topics": [
        "OptimalRerandExpDesigns"
      ]
    },
    {
      "page": "plot.optimal_rerandomization_obj",
      "title": "Plots a summary of a 'optimal_rerandomization_obj' object",
      "topics": [
        "plot.optimal_rerandomization_obj"
      ]
    },
    {
      "page": "plot.W_base_object",
      "title": "Plots a summary of the imbalances in a 'W_base_object' object",
      "topics": [
        "plot.W_base_object"
      ]
    },
    {
      "page": "print.optimal_rerandomization_obj",
      "title": "Prints a summary of a 'optimal_rerandomization_obj' object",
      "topics": [
        "print.optimal_rerandomization_obj"
      ]
    },
    {
      "page": "print.W_base_object",
      "title": "Prints a summary of a 'W_base_object' object",
      "topics": [
        "print.W_base_object"
      ]
    },
    {
      "page": "summary.optimal_rerandomization_obj",
      "title": "Prints a summary of a 'optimal_rerandomization_obj' object",
      "topics": [
        "summary.optimal_rerandomization_obj"
      ]
    },
    {
      "page": "summary.W_base_object",
      "title": "Prints a summary of a 'W_base_object' object",
      "topics": [
        "summary.W_base_object"
      ]
    }
  ],
  "_readme": "https://github.com/kapelner/optimalrerandexpdesigns/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "colorspace",
    "cpp11",
    "data.table",
    "digest",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreign",
    "Formula",
    "fs",
    "ggplot2",
    "glue",
    "GreedyExperimentalDesign",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "kernlab",
    "knitr",
    "labeling",
    "lifecycle",
    "magrittr",
    "MASS",
    "memoise",
    "mime",
    "momentchi2",
    "nbpMatching",
    "nnet",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rJava",
    "rlang",
    "rlist",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "tinytex",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "XML",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "libjvm",
      "package": "openjdk-25-jre-headless",
      "headers": "openjdk-25-jre-headless",
      "source": "openjdk",
      "version": "25.0.3+9-2~26.04.2",
      "name": "openjdk",
      "homepage": "https://openjdk.java.net/",
      "description": "OpenJDK Java runtime, using Hotspot JIT (headless)"
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "optimalrerandexpdesigns",
  "_universes": [
    "kapelner"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-07-04T08:01:29.000Z",
      "distro": "resolute",
      "commit": "fc6033a37d48a36291ea6c5b20c34c92c6fa4caa",
      "fileid": "https://r2.ropensci.org/d27667c53424964f0d3b75c6a38a4d91f991493d51c95e8bce3c60090bf92fb8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/28699766921"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1",
      "date": "2026-07-04T08:01:35.000Z",
      "distro": "resolute",
      "commit": "fc6033a37d48a36291ea6c5b20c34c92c6fa4caa",
      "fileid": "https://r2.ropensci.org/9b16f64dc039ea8f7db66c5758ff220fb2c507ccf827cb35c392307953bcd50c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/28699766921"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1",
      "date": "2026-07-04T08:43:30.000Z",
      "commit": "fc6033a37d48a36291ea6c5b20c34c92c6fa4caa",
      "fileid": "https://r2.ropensci.org/40208395994b778c7f0927c4d908ec00166a9a8336305fe7f9f9b64db39fa638",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/28699766921"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1",
      "date": "2026-07-04T08:43:03.000Z",
      "commit": "fc6033a37d48a36291ea6c5b20c34c92c6fa4caa",
      "fileid": "https://r2.ropensci.org/b9d32e9fe082c3c56306edf4493df252806f489d17fa7cf42ee9525b606882db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/28699766921"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1",
      "date": "2026-07-04T08:02:05.000Z",
      "commit": "fc6033a37d48a36291ea6c5b20c34c92c6fa4caa",
      "fileid": "https://r2.ropensci.org/81c8300c7568d6213512781000e0f259c004be3f77ebb184283c3b9f4d319aee",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/28699766921"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1",
      "date": "2026-07-04T08:00:30.000Z",
      "commit": "fc6033a37d48a36291ea6c5b20c34c92c6fa4caa",
      "fileid": "https://r2.ropensci.org/d635a6e9fd66041378b0518571a49ca59e89093ad0eb917ee76e9fff38e0eede",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/28699766921"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1",
      "date": "2026-07-04T08:00:23.000Z",
      "commit": "fc6033a37d48a36291ea6c5b20c34c92c6fa4caa",
      "fileid": "https://r2.ropensci.org/284198ef6ae8e5b00fd6fb672b59743195b2c2ce02e95e2960bab200e48b9627",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/28699766921"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1",
      "date": "2026-07-04T08:00:21.000Z",
      "commit": "fc6033a37d48a36291ea6c5b20c34c92c6fa4caa",
      "fileid": "https://r2.ropensci.org/ca1c178466d8fcadabb14c1cc731e7f385556ea519aa0b7dc8cca5a277b25ef9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kapelner/actions/runs/28699766921"
    }
  ]
}