{
  "_id": "6af43bcd535793c853327be7",
  "Type": "Package",
  "Package": "unusualprofile",
  "Title": "Calculates Conditional Mahalanobis Distances",
  "Version": "0.1.4",
  "Authors@R": "c(\nperson(\"W. Joel\", \"Schneider\", , \"w.joel.schneider@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-8393-5316\")),\nperson(\"Feng\", \"Ji\", , \"fengji@berkeley.edu\", role = \"aut\")\n)",
  "Description": "Calculates a Mahalanobis distance for every row of a set\nof outcome variables (Mahalanobis, 1936\n<doi:10.1007/s13171-019-00164-5>). The conditional Mahalanobis\ndistance is calculated using a conditional covariance matrix\n(i.e., a covariance matrix of the outcome variables after\ncontrolling for a set of predictors). Plotting the output of\nthe cond_maha() function can help identify which elements of a\nprofile are unusual after controlling for the predictors.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/wjschne/unusualprofile,\nhttps://wjschne.github.io/unusualprofile/",
  "BugReports": "https://github.com/wjschne/unusualprofile/issues",
  "VignetteBuilder": "knitr, quarto",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "TRUE",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://wjschne.r-universe.dev",
  "Date/Publication": "2025-08-23 03:24:26 UTC",
  "RemoteUrl": "https://github.com/wjschne/unusualprofile",
  "RemoteRef": "HEAD",
  "RemoteSha": "8fe3bfe8291d96dda8f0527fddeff965b52bc08e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-11 09:26:19 UTC",
    "User": "root"
  },
  "Author": "W. Joel Schneider [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-8393-5316>),\nFeng Ji [aut]",
  "Maintainer": "W. Joel Schneider <w.joel.schneider@gmail.com>",
  "_user": "wjschne",
  "_type": "src",
  "_file": "unusualprofile_0.1.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/799f9eb7df316f268ccf39a11f5e3186a93fd5c386be2e5318736654677309e7",
  "_filesize": 9535496,
  "_sha256": "799f9eb7df316f268ccf39a11f5e3186a93fd5c386be2e5318736654677309e7",
  "_expires": "2027-02-19T09:56:26.000Z",
  "_created": "2026-11-11T09:26:19.000Z",
  "_published": "2026-11-11T09:56:28.882Z",
  "_upstream": "https://github.com/wjschne/unusualprofile",
  "_status": "success",
  "_maintainer": {
    "name": "W. Joel Schneider",
    "email": "w.joel.schneider@gmail.com",
    "login": "wjschne",
    "mastodon": "@wjoelschneider@fosstodon.org",
    "bluesky": "@w-joel-schneider.bsky.social",
    "orcid": "0000-0002-8393-5316",
    "description": "Professor in School Psychology and Counseling Psychology at Temple University",
    "uuid": 7905240
  },
  "_jobs": [
    {
      "job": 130437497444,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13843611853"
    },
    {
      "job": 130437497543,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13843014461"
    },
    {
      "job": 130437497588,
      "time": 179,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13844862987"
    },
    {
      "job": 130437497499,
      "time": 179,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13844897919"
    },
    {
      "job": 130435680626,
      "time": 229,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13842624667"
    },
    {
      "job": 130437497358,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13844110508"
    },
    {
      "job": 130437497490,
      "time": 103,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13843453313"
    },
    {
      "job": 130437497833,
      "time": 120,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13843562596"
    },
    {
      "job": 130437497489,
      "time": 108,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13843502965"
    }
  ],
  "_buildurl": "https://github.com/r-universe/wjschne/actions/runs/42994622507",
  "_commit": {
    "id": "8fe3bfe8291d96dda8f0527fddeff965b52bc08e",
    "author": "W. Joel Schneider <w.joel.schneider@gmail.com>",
    "committer": "W. Joel Schneider <w.joel.schneider@gmail.com>",
    "message": "fix errors\n",
    "time": 1755919466
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggnormalviolin",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "arrowheadr",
      "role": "Suggests"
    },
    {
      "package": "signs",
      "role": "Suggests"
    },
    {
      "package": "bookdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "extrafont",
      "role": "Suggests"
    },
    {
      "package": "forcats",
      "role": "Suggests"
    },
    {
      "package": "ggdiagram",
      "role": "Suggests"
    },
    {
      "package": "glue",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lavaan",
      "role": "Suggests"
    },
    {
      "package": "lifecycle",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "ragg",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "simstandard",
      "version": ">= 0.6.3",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "sysfonts",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "wjschne",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "wjschne",
      "count": 73,
      "uuid": 7905240
    }
  ],
  "_userbio": {
    "uuid": 7905240,
    "type": "user",
    "name": "W. Joel Schneider",
    "followers": 80,
    "description": "Professor in School Psychology and Counseling Psychology at Temple University"
  },
  "_downloads": {
    "count": 373,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/unusualprofile"
  },
  "_devurl": "https://github.com/wjschne/unusualprofile",
  "_pkgdown": "https://wjschne.github.io/unusualprofile/",
  "_searchresults": 18,
  "_quarto": true,
  "_topics": [
    "quarto"
  ],
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/unusualprofile.html"
  ],
  "_homeurl": "https://github.com/wjschne/unusualprofile",
  "_realowner": "wjschne",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-05-13"
    },
    {
      "version": "0.1.1",
      "date": "2022-11-30"
    },
    {
      "version": "0.1.2",
      "date": "2022-12-14"
    },
    {
      "version": "0.1.4",
      "date": "2024-02-15"
    }
  ],
  "_exports": [
    "cond_maha",
    "is_singular",
    "p2label",
    "proportion_round",
    "proportion2percentile"
  ],
  "_datasets": [
    {
      "name": "d_example",
      "title": "An example data.frame",
      "object": "d_example",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "X_1",
        "X_2",
        "X_3",
        "Y_1",
        "Y_2",
        "Y_3",
        "X",
        "Y"
      ],
      "rows": 1,
      "table": true,
      "tojson": true
    },
    {
      "name": "R_example",
      "title": "An example correlation matrix",
      "object": "R_example",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "X_1",
        "X_2",
        "X_3",
        "Y_1",
        "Y_2",
        "Y_3",
        "X",
        "Y"
      ],
      "rows": 8,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cond_maha",
      "title": "Calculate the conditional Mahalanobis distance for any variables.",
      "topics": [
        "cond_maha"
      ]
    },
    {
      "page": "d_example",
      "title": "An example data.frame",
      "topics": [
        "d_example"
      ]
    },
    {
      "page": "plot.cond_maha",
      "title": "Plot the variables from the results of the cond_maha function.",
      "topics": [
        "plot.cond_maha"
      ]
    },
    {
      "page": "plot.maha",
      "title": "Plot objects of the maha class (i.e, the results of the cond_maha function using dependent variables only).",
      "topics": [
        "plot.maha"
      ]
    },
    {
      "page": "proportion_round",
      "title": "Rounds proportions to significant digits both near 0 and 1",
      "topics": [
        "proportion_round"
      ]
    },
    {
      "page": "proportion2percentile",
      "title": "Rounds proportions to significant digits both near 0 and 1, then converts to percentiles",
      "topics": [
        "proportion2percentile"
      ]
    },
    {
      "page": "R_example",
      "title": "An example correlation matrix",
      "topics": [
        "R_example"
      ]
    }
  ],
  "_pkglogo": "https://github.com/wjschne/unusualprofile/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/wjschne/unusualprofile/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggnormalviolin",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "unusualprofile_calculations.qmd",
      "filename": "unusualprofile_calculations.html",
      "title": "Calculations performed by the unusualprofile package",
      "engine": "quarto::html",
      "headings": [
        "Calculate composite scores",
        "Estimate expected test scores conditioned on a composite score",
        "Calculating the Conditional Mahalanobis Distance"
      ],
      "created": "2025-08-17 00:51:29",
      "modified": "2025-08-23 03:24:26",
      "commits": 2
    },
    {
      "source": "tutorial_unusualprofile.qmd",
      "filename": "tutorial_unusualprofile.html",
      "title": "Introduction to the unusualprofile package",
      "engine": "quarto::html",
      "headings": [
        "Univariate Outliers",
        "Multivariate Outliers",
        "Quantifying Multivariate Extremity",
        "The Euclidean Distance",
        "The Mahalanobis Distance",
        "Conditional Mahalanobis Distances",
        "Distinguishing Profile Shape from Profile Elevation",
        "A Worked Example with a Simple Model",
        "Calculations Using the simstandard and unusualprofile Packages",
        "View Complete Output of cond_maha Function",
        "A Worked Example with a More Complex Model",
        "Conditional Mahalanobis Distances with Indicator Scores Only",
        "Composite Score Model",
        "Observed Scores, Given Composite Scores",
        "Factor-score model",
        "References"
      ],
      "created": "2025-08-17 00:51:29",
      "modified": "2025-08-23 03:24:26",
      "commits": 3
    }
  ],
  "_score": 4.857332496431269,
  "_indexed": true,
  "_nocasepkg": "unusualprofile",
  "_universes": [
    "wjschne"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-11-11T09:28:41.000Z",
      "distro": "resolute",
      "commit": "8fe3bfe8291d96dda8f0527fddeff965b52bc08e",
      "fileid": "https://r2.ropensci.org/e8c148b4bac029046166d87f2e16a92c2e44a23a9afcf592a8df22208d46d796",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wjschne/actions/runs/42994622507"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-11-11T09:28:55.000Z",
      "distro": "resolute",
      "commit": "8fe3bfe8291d96dda8f0527fddeff965b52bc08e",
      "fileid": "https://r2.ropensci.org/a8b33408785683e4543f30459d446f8b84d7a004548059d9922bcdcd9a5803c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wjschne/actions/runs/42994622507"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-11-11T09:55:43.000Z",
      "commit": "8fe3bfe8291d96dda8f0527fddeff965b52bc08e",
      "fileid": "https://r2.ropensci.org/a505d708f339db9d685cc7438e52911d1c711873863ac0ddf9b17b4b00cd7758",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wjschne/actions/runs/42994622507"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-11-11T09:54:52.000Z",
      "commit": "8fe3bfe8291d96dda8f0527fddeff965b52bc08e",
      "fileid": "https://r2.ropensci.org/7488695f6007d734ac7dce7cd4599022be2d6902675299e1de855e6c67c29752",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wjschne/actions/runs/42994622507"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.4",
      "date": "2026-11-11T09:28:27.000Z",
      "commit": "8fe3bfe8291d96dda8f0527fddeff965b52bc08e",
      "fileid": "https://r2.ropensci.org/10a8107e344a810a09f4e8f905dc67ea7cc831654765e991802d8596776ffdab",
      "status": "success",
      "buildurl": "https://github.com/r-universe/wjschne/actions/runs/42994622507"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-11-11T09:27:58.000Z",
      "commit": "8fe3bfe8291d96dda8f0527fddeff965b52bc08e",
      "fileid": "https://r2.ropensci.org/63b594666d72b1d96514e9159bce09d498def40c9e8670fc16ebc3406030d545",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wjschne/actions/runs/42994622507"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-11-11T09:28:13.000Z",
      "commit": "8fe3bfe8291d96dda8f0527fddeff965b52bc08e",
      "fileid": "https://r2.ropensci.org/8eec8e1703360f8e3a1da8beb871c542ea86adac8aeafe844991914917c15967",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wjschne/actions/runs/42994622507"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-11-11T09:28:02.000Z",
      "commit": "8fe3bfe8291d96dda8f0527fddeff965b52bc08e",
      "fileid": "https://r2.ropensci.org/abbf9bc5bee4fdf438c478f376639f468ab1d6495f5727af822573374c4ef8e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wjschne/actions/runs/42994622507"
    }
  ]
}