{
  "_id": "6a14234bacfb0bcc41d3ef16",
  "Package": "MLMusingR",
  "Type": "Package",
  "Title": "Practical Multilevel Modeling",
  "Version": "0.4.1",
  "Authors@R": "c(person(\"Francis\", \"Huang\",\nrole = c('aut', 'cre'),\nemail = \"flhuang2000@yahoo.com\"))",
  "Date": "2025-10-22",
  "Maintainer": "Francis Huang <flhuang2000@yahoo.com>",
  "Description": "Convenience functions and datasets to be used with\nPractical Multilevel Modeling using R. The package includes\nfunctions for calculating group means, group mean centered\nvariables, and displaying some basic missing data information.\nA function for computing robust standard errors for linear\nmixed models based on Liang and Zeger (1986)\n<doi:10.1093/biomet/73.1.13> and Bell and 'McCaffrey' (2002)\n<https://www150.statcan.gc.ca/n1/en/pub/12-001-x/2002002/article/9058-eng.pdf?st=NxMjN1YZ>\nis included as well as a function for checking for level-one\nhomoskedasticity (Raudenbush & Bryk, 2002, ISBN:076191904X).",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/flh3/MLMusingR",
  "BugReports": "https://github.com/flh3/MLMusingR/issues",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://flh3.r-universe.dev",
  "Date/Publication": "2025-10-27 02:59:56 UTC",
  "RemoteUrl": "https://github.com/flh3/mlmusingr",
  "RemoteRef": "HEAD",
  "RemoteSha": "641aecf866f543c923189d1abda760b6ec0aa1ca",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-25 10:21:03 UTC",
    "User": "root"
  },
  "Author": "Francis Huang [aut, cre]",
  "MD5sum": "6cd02a8fd25fadb1976a9ae23012dd9d",
  "_user": "flh3",
  "_type": "src",
  "_file": "MLMusingR_0.4.1.tar.gz",
  "_fileid": "af15aedeba46710d210264a70a7dd916fa58c99181b7b112ebe0b769f0f2b9bf",
  "_filesize": 1057891,
  "_sha256": "af15aedeba46710d210264a70a7dd916fa58c99181b7b112ebe0b769f0f2b9bf",
  "_created": "2026-05-25T10:21:03.000Z",
  "_published": "2026-05-25T10:24:11.072Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77695349634,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7196334222"
    },
    {
      "job": 77695349637,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196334784"
    },
    {
      "job": 77695349718,
      "time": 106,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7196323410"
    },
    {
      "job": 77695349662,
      "time": 98,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196321554"
    },
    {
      "job": 77694978296,
      "time": 176,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196296635"
    },
    {
      "job": 77695349606,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196327076"
    },
    {
      "job": 77695349680,
      "time": 112,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7196325293"
    },
    {
      "job": 77695349667,
      "time": 99,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7196321721"
    },
    {
      "job": 77695349641,
      "time": 122,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196327834"
    }
  ],
  "_buildurl": "https://github.com/r-universe/flh3/actions/runs/26395448974",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/flh3/mlmusingr",
  "_commit": {
    "id": "641aecf866f543c923189d1abda760b6ec0aa1ca",
    "author": "Francis Huang <huangf@missouri.edu>",
    "committer": "Francis Huang <huangf@missouri.edu>",
    "message": "upd\n",
    "time": 1761533996
  },
  "_maintainer": {
    "name": "Francis Huang",
    "email": "flhuang2000@yahoo.com",
    "login": "classgit",
    "description": "",
    "uuid": 45878423
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "nlme",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "performance",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "WeMix",
      "role": "Imports"
    }
  ],
  "_owner": "flh3",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-43",
      "n": 2
    },
    {
      "week": "2025-44",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "flh3",
      "count": 45,
      "uuid": 7807863
    }
  ],
  "_userbio": {
    "uuid": 7807863,
    "type": "user",
    "name": "Francis Huang"
  },
  "_downloads": {
    "count": 355,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MLMusingR"
  },
  "_devurl": "https://github.com/flh3/mlmusingr",
  "_searchresults": 10,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/MLMusingR.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/flh3/mlmusingr",
  "_realowner": "flh3",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-01-11"
    },
    {
      "version": "0.2.0",
      "date": "2022-05-10"
    },
    {
      "version": "0.3.0",
      "date": "2023-01-14"
    },
    {
      "version": "0.3.2",
      "date": "2024-01-27"
    },
    {
      "version": "0.4.0",
      "date": "2025-01-09"
    }
  ],
  "_exports": [
    "%>%",
    "cwc",
    "group_center",
    "group_mean",
    "Htest",
    "lrtPV",
    "MatSqrtInverse",
    "mixPV",
    "nmiss",
    "pool_pv",
    "robust_mixed",
    "satdf",
    "summary_all",
    "wscale"
  ],
  "_datasets": [
    {
      "name": "cdata.ex",
      "title": "Clustered dataset for centering example",
      "object": "cdata.ex",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "x",
        "cluster"
      ],
      "rows": 60,
      "table": true,
      "tojson": true
    },
    {
      "name": "engage",
      "title": "Student engagement dataset (complete data).",
      "object": "engage",
      "class": [
        "data.frame"
      ],
      "fields": [
        "eng",
        "mot",
        "gpa",
        "rural",
        "frpm",
        "grade",
        "school"
      ],
      "rows": 528,
      "table": true,
      "tojson": true
    },
    {
      "name": "engage.miss",
      "title": "Student engagement dataset (with missing data).",
      "object": "engage.miss",
      "class": [
        "data.frame"
      ],
      "fields": [
        "eng",
        "mot",
        "gpa",
        "rural",
        "frpm",
        "grade",
        "school"
      ],
      "rows": 528,
      "table": true,
      "tojson": true
    },
    {
      "name": "hdp",
      "title": "Hospital, doctor, patient (hdp) dataset",
      "object": "hdp",
      "class": [
        "data.frame"
      ],
      "fields": [
        "remission",
        "Age",
        "Married",
        "FamilyHx",
        "SmokingHx",
        "Sex",
        "CancerStage",
        "LengthofStay",
        "WBC",
        "RBC",
        "BMI",
        "IL6",
        "CRP",
        "DID",
        "Experience",
        "School",
        "HID"
      ],
      "rows": 8525,
      "table": true,
      "tojson": true
    },
    {
      "name": "pisa2012",
      "title": "USA data from PISA 2012",
      "object": "pisa2012",
      "class": [
        "data.frame"
      ],
      "fields": [
        "pv1math",
        "pv2math",
        "pv3math",
        "pv4math",
        "pv5math",
        "escs",
        "schoolid",
        "st29q03",
        "st04q01",
        "w_fstuwt",
        "w_fschwt",
        "sc14q02",
        "pwt1",
        "noise1"
      ],
      "rows": 3136,
      "table": true,
      "tojson": true
    },
    {
      "name": "ri_test1",
      "title": "Sample dataset 1 for testing the likelihood ratio test",
      "object": "ri_test1",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "w1",
        "x1",
        "group"
      ],
      "rows": 900,
      "table": true,
      "tojson": true
    },
    {
      "name": "ri_test2",
      "title": "Sample dataset 2 for testing the likelihood ratio test (LRT)",
      "object": "ri_test2",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "w1",
        "x1",
        "group"
      ],
      "rows": 3000,
      "table": true,
      "tojson": true
    },
    {
      "name": "sch29",
      "title": "Data from 29 schools (based on the NELS dataset) used for regression diagnostics",
      "object": "sch29",
      "class": [
        "data.frame"
      ],
      "fields": [
        "schid",
        "ses",
        "byhomewk",
        "math",
        "male",
        "minority",
        "mses",
        "mhmwk"
      ],
      "rows": 648,
      "table": true,
      "tojson": true
    },
    {
      "name": "suspend",
      "title": "Suspension data from Virginia",
      "object": "suspend",
      "class": [
        "data.frame"
      ],
      "fields": [
        "school",
        "pminor",
        "ztc",
        "frpmp",
        "sus",
        "male",
        "frpl",
        "gpa",
        "fight",
        "frmp.c",
        "pminor.c",
        "gpa.c",
        "gpam",
        "frpm.c"
      ],
      "rows": 8465,
      "table": true,
      "tojson": true
    },
    {
      "name": "thai",
      "title": "Thai data from PISA",
      "object": "thai",
      "class": [
        "data.frame"
      ],
      "fields": [
        "pv1math",
        "escs",
        "hisei",
        "sex",
        "intmat",
        "matheff",
        "schoolid",
        "othl",
        "books",
        "pared",
        "w_fstuwt",
        "pv1read",
        "pv2read",
        "pv3read",
        "pv4read",
        "pv5read",
        "private",
        "schsize"
      ],
      "rows": 6606,
      "table": true,
      "tojson": true
    },
    {
      "name": "thai.sm",
      "title": "Thai data from PISA (reduced)",
      "object": "thai.sm",
      "class": [
        "data.frame"
      ],
      "fields": [
        "math",
        "escs",
        "othl",
        "intmat",
        "private",
        "schsize",
        "schoolid"
      ],
      "rows": 4271,
      "table": true,
      "tojson": true
    },
    {
      "name": "wide",
      "title": "Wide dataset to be used for growth modeling",
      "object": "wide",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "studentid",
        "int",
        "female",
        "fall_k",
        "spring_k",
        "spring_g1"
      ],
      "rows": 30,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cdata.ex",
      "title": "Clustered dataset for centering example",
      "topics": [
        "cdata.ex"
      ]
    },
    {
      "page": "engage",
      "title": "Student engagement dataset (complete data).",
      "topics": [
        "engage"
      ]
    },
    {
      "page": "engage.miss",
      "title": "Student engagement dataset (with missing data).",
      "topics": [
        "engage.miss"
      ]
    },
    {
      "page": "glance.CR2",
      "title": "Glance at goodness-of-fit statistics",
      "topics": [
        "glance.CR2"
      ]
    },
    {
      "page": "group_center",
      "title": "Group-mean center a variable",
      "topics": [
        "cwc",
        "group_center"
      ]
    },
    {
      "page": "group_mean",
      "title": "Computes the group mean of a variable",
      "topics": [
        "group_mean"
      ]
    },
    {
      "page": "hdp",
      "title": "Hospital, doctor, patient (hdp) dataset",
      "topics": [
        "hdp"
      ]
    },
    {
      "page": "Htest",
      "title": "Test for homoskedasticity at level one",
      "topics": [
        "Htest"
      ]
    },
    {
      "page": "lrtPV",
      "title": "Likelihood Ratio Test with Model Results Using Plausible Values",
      "topics": [
        "lrtPV"
      ]
    },
    {
      "page": "MatSqrtInverse",
      "title": "Compute the inverse square root of a matrix",
      "topics": [
        "MatSqrtInverse"
      ]
    },
    {
      "page": "mixPV",
      "title": "Fit Weighted Multilevel Models Using Plausible Values",
      "topics": [
        "mixPV"
      ]
    },
    {
      "page": "nmiss",
      "title": "Amount of missing data per variable",
      "topics": [
        "nmiss"
      ]
    },
    {
      "page": "pisa2012",
      "title": "USA data from PISA 2012",
      "topics": [
        "pisa2012"
      ]
    },
    {
      "page": "pool_pv",
      "title": "Pool plausible values using Rubin's rules",
      "topics": [
        "pool_pv"
      ]
    },
    {
      "page": "ri_test1",
      "title": "Sample dataset 1 for testing the likelihood ratio test",
      "topics": [
        "ri_test1"
      ]
    },
    {
      "page": "ri_test2",
      "title": "Sample dataset 2 for testing the likelihood ratio test (LRT)",
      "topics": [
        "ri_test2"
      ]
    },
    {
      "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": "sch29",
      "title": "Data from 29 schools (based on the NELS dataset) used for regression diagnostics",
      "topics": [
        "sch29"
      ]
    },
    {
      "page": "summary_all",
      "title": "Use the summary function on a saved list of mixPV results",
      "topics": [
        "summary_all"
      ]
    },
    {
      "page": "summary.mixPV",
      "title": "Create summary output from the mixPV function",
      "topics": [
        "summary.mixPV"
      ]
    },
    {
      "page": "suspend",
      "title": "Suspension data from Virginia",
      "topics": [
        "suspend"
      ]
    },
    {
      "page": "thai",
      "title": "Thai data from PISA",
      "topics": [
        "thai"
      ]
    },
    {
      "page": "thai.sm",
      "title": "Thai data from PISA (reduced)",
      "topics": [
        "thai.sm"
      ]
    },
    {
      "page": "tidy.CR2",
      "title": "Tidy a CR2 object",
      "topics": [
        "tidy.CR2"
      ]
    },
    {
      "page": "tidy.mixPV",
      "title": "Helper function to allow use with modelsummary",
      "topics": [
        "tidy.mixPV"
      ]
    },
    {
      "page": "wide",
      "title": "Wide dataset to be used for growth modeling",
      "topics": [
        "wide"
      ]
    },
    {
      "page": "wscale",
      "title": "Scale of Sampling Weights",
      "topics": [
        "wscale"
      ]
    }
  ],
  "_readme": "https://github.com/flh3/mlmusingr/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "bayestestR",
    "boot",
    "broom",
    "cli",
    "cpp11",
    "datawizard",
    "dplyr",
    "generics",
    "glue",
    "insight",
    "lattice",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "minqa",
    "nlme",
    "nloptr",
    "numDeriv",
    "performance",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rbibutils",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "WeMix",
    "withr"
  ],
  "_score": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "mlmusingr",
  "_universes": [
    "flh3",
    "classgit"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-05-25T10:23:11.000Z",
      "distro": "noble",
      "commit": "641aecf866f543c923189d1abda760b6ec0aa1ca",
      "fileid": "a16bb25e94f9c56580c6607836bfbb261e4b27bdec4e0f076c38feee1b47ecea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/flh3/actions/runs/26395448974"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-05-25T10:23:19.000Z",
      "distro": "noble",
      "commit": "641aecf866f543c923189d1abda760b6ec0aa1ca",
      "fileid": "adc1916cdc9374a6a11ec9138371d95c605abf4fb6bb717cb4444e2cc5a06351",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/flh3/actions/runs/26395448974"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-05-25T10:22:45.000Z",
      "commit": "641aecf866f543c923189d1abda760b6ec0aa1ca",
      "fileid": "6d500e321d99cf7c3b9a7de17026a39dd0c34d36d7a99411c58edcc5027bab0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/flh3/actions/runs/26395448974"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-05-25T10:22:35.000Z",
      "commit": "641aecf866f543c923189d1abda760b6ec0aa1ca",
      "fileid": "57f40bf76a7a893952727af8c4abf8502c0109dc9425dabd78674f4489e477b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/flh3/actions/runs/26395448974"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.1",
      "date": "2026-05-25T10:23:22.000Z",
      "commit": "641aecf866f543c923189d1abda760b6ec0aa1ca",
      "fileid": "2281dbea5c53cee5e084c3a61ff12b9e12f7db4db6e3111bb2b8c9121f9b3827",
      "status": "success",
      "buildurl": "https://github.com/r-universe/flh3/actions/runs/26395448974"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-05-25T10:22:31.000Z",
      "commit": "641aecf866f543c923189d1abda760b6ec0aa1ca",
      "fileid": "ff0635228e9be7469ae410ddbdb53e7948df44b00008d632c05daacb1a48c8e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/flh3/actions/runs/26395448974"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-05-25T10:22:19.000Z",
      "commit": "641aecf866f543c923189d1abda760b6ec0aa1ca",
      "fileid": "76bd218bfb8d423d1b350dfd4ccb0e227406727b4438be752f7f15bdd0044ffa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/flh3/actions/runs/26395448974"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-05-25T10:22:44.000Z",
      "commit": "641aecf866f543c923189d1abda760b6ec0aa1ca",
      "fileid": "a664d0ef5031c094fb580390cce09d76b0ef0fd649e432879ad049efe443a0ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/flh3/actions/runs/26395448974"
    }
  ]
}