{
  "_id": "6a104d94acfb0bcc41ca06c0",
  "Package": "CR2",
  "Title": "Compute Cluster Robust Standard Errors with Degrees of Freedom\nAdjustments",
  "Version": "0.2.1",
  "Authors@R": "c(\nperson(\"Francis\", \"Huang\",\nrole = c(\"aut\", \"cre\"),\nemail = \"flhuang2000@yahoo.com\",\ncomment = c(ORCID = \"0000-0002-5900-7763\")),\nperson(\"Bixi\", \"Zhang\",\nrole = c(\"aut\"),\nemail = \"bixizhang@missouri.edu\")\n)",
  "Date": "2023-01-03",
  "Description": "Estimate different types of cluster robust standard errors\n(CR0, CR1, CR2) with degrees of freedom adjustments. Standard\nerrors are computed based on 'Liang and Zeger' (1986)\n<doi:10.1093/biomet/73.1.13> and Bell and 'McCaffrey'\n<https://www150.statcan.gc.ca/n1/en/pub/12-001-x/2002002/article/9058-eng.pdf?st=NxMjN1YZ>.\nFunctions used in Huang and Li\n<doi:10.3758/s13428-021-01627-0>, Huang, 'Wiedermann', and\n'Zhang' <doi:10.1080/00273171.2022.2077290>, and Huang,\n'Zhang', and Li (forthcoming: Journal of Research on\nEducational Effectiveness).",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "URL": "https://github.com/flh3/CR2",
  "BugReports": "https://github.com/flh3/CR2/issues",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://flh3.r-universe.dev",
  "Date/Publication": "2024-03-07 21:01:45 UTC",
  "RemoteUrl": "https://github.com/flh3/cr2",
  "RemoteRef": "HEAD",
  "RemoteSha": "cf7e9f681803e963e46ce0d54aa6eaa247606e65",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-10 06:54:22 UTC",
    "User": "root"
  },
  "Author": "Francis Huang [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5900-7763>),\nBixi Zhang [aut]",
  "Maintainer": "Francis Huang <flhuang2000@yahoo.com>",
  "MD5sum": "70c55625680fd3b26704f690d2c6d0e8",
  "_user": "flh3",
  "_type": "src",
  "_file": "CR2_0.2.1.tar.gz",
  "_fileid": "ed8dace19d0d92099fbe2b008689c860486b3e4033c667b520ff492f05cbbf62",
  "_filesize": 200709,
  "_sha256": "ed8dace19d0d92099fbe2b008689c860486b3e4033c667b520ff492f05cbbf62",
  "_created": "2026-05-10T06:54:22.000Z",
  "_published": "2026-05-22T12:35:32.444Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77380446388,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6901751595"
    },
    {
      "job": 77380446365,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6901751801"
    },
    {
      "job": 77380446491,
      "time": 174,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6901750925"
    },
    {
      "job": 77380446495,
      "time": 189,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6901752070"
    },
    {
      "job": 77380446031,
      "time": 165,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6901735615"
    },
    {
      "job": 77380446061,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160596589"
    },
    {
      "job": 77380446448,
      "time": 100,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6901746497"
    },
    {
      "job": 77380446789,
      "time": 91,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6901745472"
    },
    {
      "job": 77380446382,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6901745584"
    }
  ],
  "_buildurl": "https://github.com/r-universe/flh3/actions/runs/25622242037",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/flh3/cr2",
  "_commit": {
    "id": "cf7e9f681803e963e46ce0d54aa6eaa247606e65",
    "author": "Francis Huang <huangf@missouri.edu>",
    "committer": "Francis Huang <huangf@missouri.edu>",
    "message": "Update CRAN-SUBMISSION\n",
    "time": 1709845305
  },
  "_maintainer": {
    "name": "Francis Huang",
    "email": "flhuang2000@yahoo.com",
    "login": "classgit",
    "uuid": 45878423,
    "orcid": "0000-0002-5900-7763"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "nlme",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "performance",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    }
  ],
  "_owner": "flh3",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "flh3",
      "count": 76,
      "uuid": 7807863
    }
  ],
  "_userbio": {
    "uuid": 7807863,
    "type": "user",
    "name": "Francis Huang"
  },
  "_downloads": {
    "count": 227,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CR2"
  },
  "_devurl": "https://github.com/flh3/cr2",
  "_searchresults": 13,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/CR2.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/flh3/cr2",
  "_realowner": "flh3",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-05-21"
    },
    {
      "version": "0.1.1",
      "date": "2022-06-17"
    },
    {
      "version": "0.2.1",
      "date": "2023-01-14"
    }
  ],
  "_exports": [
    "%>%",
    "clustSE",
    "getV",
    "MatSqrtInverse",
    "ncvMLM",
    "robust_mixed",
    "satdf"
  ],
  "_datasets": [
    {
      "name": "crct",
      "title": "Simulated data from 18 schools (from a cluster randomized controlled trial)",
      "object": "crct",
      "class": [
        "data.frame"
      ],
      "fields": [
        "usid",
        "stype",
        "trt",
        "odr_post",
        "odr_pre",
        "size",
        "female",
        "stype_ms",
        "stype_elem",
        "stype_hs",
        "race_Black",
        "race_Hispanic"
      ],
      "rows": 4233,
      "table": true,
      "tojson": true
    },
    {
      "name": "gpadat",
      "title": "Grade point average (GPA) data of students from 25 schools",
      "object": "gpadat",
      "class": [
        "data.frame"
      ],
      "fields": [
        "gpa",
        "female",
        "race",
        "dis",
        "frpl",
        "race_w",
        "race_a",
        "race_b",
        "race_h",
        "race_o",
        "per_asian",
        "per_black",
        "per_hisp",
        "per_other",
        "per_fem",
        "per_dis",
        "per_frpl",
        "schoolid"
      ],
      "rows": 8956,
      "table": true,
      "tojson": true
    },
    {
      "name": "sch25",
      "title": "Data from 25 schools (based on the NELS dataset)",
      "object": "sch25",
      "class": [
        "data.frame"
      ],
      "fields": [
        "schid",
        "ses",
        "byhomewk",
        "math",
        "male",
        "minority",
        "mses",
        "mhmwk"
      ],
      "rows": 546,
      "table": true,
      "tojson": true
    },
    {
      "name": "sharedat",
      "title": "Data from Project SHARE",
      "object": "sharedat",
      "class": [
        "data.frame"
      ],
      "fields": [
        "school",
        "sex",
        "arm",
        "kscore",
        "idno",
        "sc",
        "zscore"
      ],
      "rows": 5399,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "clustSE",
      "title": "Cluster robust standard errors with degrees of freedom adjustments (for lm and glm objects)",
      "topics": [
        "clustSE"
      ]
    },
    {
      "page": "crct",
      "title": "Simulated data from 18 schools (from a cluster randomized controlled trial)",
      "topics": [
        "crct"
      ]
    },
    {
      "page": "getV",
      "title": "Get V matrix for merMod objects",
      "topics": [
        "getV"
      ]
    },
    {
      "page": "glance.CR2",
      "title": "Glance at goodness-of-fit statistics",
      "topics": [
        "glance.CR2"
      ]
    },
    {
      "page": "gpadat",
      "title": "Grade point average (GPA) data of students from 25 schools",
      "topics": [
        "gpadat"
      ]
    },
    {
      "page": "MatSqrtInverse",
      "title": "Compute the inverse square root of a matrix",
      "topics": [
        "MatSqrtInverse"
      ]
    },
    {
      "page": "ncvMLM",
      "title": "Testing for nonconstant variance (ncv)",
      "topics": [
        "ncvMLM"
      ]
    },
    {
      "page": "robust_mixed",
      "title": "Cluster robust standard errors with degrees of freedom adjustments for lmerMod/lme objects",
      "topics": [
        "robust_mixed"
      ]
    },
    {
      "page": "satdf",
      "title": "Compute Satterthwaite degrees of freedom",
      "topics": [
        "satdf"
      ]
    },
    {
      "page": "sch25",
      "title": "Data from 25 schools (based on the NELS dataset)",
      "topics": [
        "sch25"
      ]
    },
    {
      "page": "sharedat",
      "title": "Data from Project SHARE",
      "topics": [
        "sharedat"
      ]
    },
    {
      "page": "tidy.CR2",
      "title": "Tidy a CR2 object",
      "topics": [
        "tidy.CR2"
      ]
    }
  ],
  "_readme": "https://github.com/flh3/cr2/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "bayestestR",
    "boot",
    "broom",
    "cli",
    "cpp11",
    "datawizard",
    "dplyr",
    "generics",
    "glue",
    "insight",
    "lattice",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "performance",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rbibutils",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 2.8129133566428557,
  "_indexed": true,
  "_nocasepkg": "cr2",
  "_universes": [
    "flh3",
    "classgit"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-05-10T06:56:25.000Z",
      "distro": "noble",
      "commit": "cf7e9f681803e963e46ce0d54aa6eaa247606e65",
      "fileid": "8f242f512c4b6761cf172b1ea1faf22aa1882e4f6cdf7cff1fe1a2cd4019d9a2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/flh3/actions/runs/25622242037"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-05-10T06:56:29.000Z",
      "distro": "noble",
      "commit": "cf7e9f681803e963e46ce0d54aa6eaa247606e65",
      "fileid": "60a1421bc199212810b595e43455da1f4b757b65fb98c1c6e70fe9c7282de1b9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/flh3/actions/runs/25622242037"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-05-10T06:56:34.000Z",
      "commit": "cf7e9f681803e963e46ce0d54aa6eaa247606e65",
      "fileid": "5f5c3535eafaf89e2597d18b902331e0573f66f9b8e029bf490cea68be2077bd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/flh3/actions/runs/25622242037"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-05-10T06:56:36.000Z",
      "commit": "cf7e9f681803e963e46ce0d54aa6eaa247606e65",
      "fileid": "883cecc49e9ec5c4e41b6d3fca127a0a07411319b4d7edb5134b13f93ae1afcc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/flh3/actions/runs/25622242037"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-10T06:55:41.000Z",
      "commit": "cf7e9f681803e963e46ce0d54aa6eaa247606e65",
      "fileid": "80c039b4ea905fb5bd088a6f01118b6b7eb5bbec5d03d46e5ca822f97ddfbd2c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/flh3/actions/runs/25622242037"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-10T06:55:29.000Z",
      "commit": "cf7e9f681803e963e46ce0d54aa6eaa247606e65",
      "fileid": "24f00d22f8a2917f1102ef13e0b608eb3c7c91cf49f0203cc6b7179141a0cc28",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/flh3/actions/runs/25622242037"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-10T06:55:31.000Z",
      "commit": "cf7e9f681803e963e46ce0d54aa6eaa247606e65",
      "fileid": "99aa6b7dd6b422626558b24395e483ce1f20e8ec9fcde2c6a3d5ef35a1127815",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/flh3/actions/runs/25622242037"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-05-22T12:35:18.000Z",
      "commit": "cf7e9f681803e963e46ce0d54aa6eaa247606e65",
      "fileid": "0412211b44b24325bea450fc085505d0a76a03b7a6555c096561f89767fb3be6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/flh3/actions/runs/25622242037"
    }
  ]
}