{
  "_id": "6a534cdb9b92047c28d57c34",
  "Package": "mlstats",
  "Title": "Multilevel Descriptive Statistics and Data Preparation",
  "Version": "0.1.0.9000",
  "Authors@R": "person(\"Felix\", \"Dietrich\", , \"mail@felix-dietrich.de\", role = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Provides tools for multilevel descriptive statistics and\ndata preparation. Computes within-group and between-group\ncorrelations (via variance decomposition or two-level\nstructural equation modeling), intraclass correlation\ncoefficients (ICCs), and descriptive statistics for nested data\n(e.g., repeated measurements per person), supporting both\nfrequentist (via 'lme4' or 'lavaan') and Bayesian (via 'brms')\nestimation. Results are formatted according to APA standards\nand can be exported as tables using 'gt' or 'tinytable'. Also\nincludes functions for decomposing variables into within-group\nand between-group components for use in Random Effects\nWithin-Between (REWB) models.",
  "License": "MIT + file LICENSE",
  "URL": "https://felixdidi.github.io/mlstats/,\nhttps://github.com/felixdidi/mlstats",
  "BugReports": "https://github.com/felixdidi/mlstats/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://felixdidi.r-universe.dev",
  "Date/Publication": "2026-07-11 10:58:13 UTC",
  "RemoteUrl": "https://github.com/felixdidi/mlstats",
  "RemoteRef": "HEAD",
  "RemoteSha": "f25d3806d1e1be6bce87c89f26752e15944bb1bb",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-12 08:06:17 UTC",
    "User": "root"
  },
  "Author": "Felix Dietrich [aut, cre, cph]",
  "Maintainer": "Felix Dietrich <mail@felix-dietrich.de>",
  "_user": "felixdidi",
  "_type": "src",
  "_file": "mlstats_0.1.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/0ff21f186c5136601946e336b9254ceaa46f756b3963ab7a0c9261909fdd456e",
  "_filesize": 996396,
  "_sha256": "0ff21f186c5136601946e336b9254ceaa46f756b3963ab7a0c9261909fdd456e",
  "_expires": "2026-10-20T08:14:17.000Z",
  "_created": "2026-07-12T08:06:17.000Z",
  "_published": "2026-07-12T08:14:19.164Z",
  "_jobs": [
    {
      "job": 86630228295,
      "time": 440,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8257859851"
    },
    {
      "job": 86630228301,
      "time": 383,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8257851759"
    },
    {
      "job": 86630228313,
      "time": 430,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8257852385"
    },
    {
      "job": 86630228297,
      "time": 424,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8257851166"
    },
    {
      "job": 86629890875,
      "time": 267,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8257797126"
    },
    {
      "job": 86630228290,
      "time": 155,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8257819613"
    },
    {
      "job": 86630228309,
      "time": 401,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8257854469"
    },
    {
      "job": 86630228312,
      "time": 428,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8257858519"
    },
    {
      "job": 86630228307,
      "time": 418,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8257857117"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/felixdidi/actions/runs/29185178726",
  "_status": "success",
  "_upstream": "https://github.com/felixdidi/mlstats",
  "_commit": {
    "id": "f25d3806d1e1be6bce87c89f26752e15944bb1bb",
    "author": "Felix Dietrich <40301494+felixdidi@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #2 from felixdidi/prepare-for-cran\n\nSubmitted first version to CRAN",
    "time": 1783767493
  },
  "_maintainer": {
    "name": "Felix Dietrich",
    "email": "mail@felix-dietrich.de",
    "login": "felixdidi",
    "bluesky": "@felix-dietrich.de",
    "description": "Media Psychology | Media Entertainment",
    "uuid": 40301494
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "pillar",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tinytable",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "brms",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lavaan",
      "role": "Suggests"
    },
    {
      "package": "lmerTest",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "felixdidi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 10
    },
    {
      "week": "2025-51",
      "n": 15
    },
    {
      "week": "2026-27",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-07-05"
    }
  ],
  "_stars": 12,
  "_contributors": [
    {
      "user": "felixdidi",
      "count": 71,
      "uuid": 40301494
    }
  ],
  "_userbio": {
    "uuid": 40301494,
    "type": "user",
    "name": "Felix Dietrich",
    "followers": 10,
    "description": "Media Psychology | Media Entertainment"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mlstats"
  },
  "_devurl": "https://github.com/felixdidi/mlstats",
  "_pkgdown": "https://felixdidi.github.io/mlstats/",
  "_searchresults": 7,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mlstats.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/felixdidi/mlstats",
  "_realowner": "felixdidi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-07-11"
    }
  ],
  "_exports": [
    "decompose_within_between",
    "mldesc",
    "within_between_correlations"
  ],
  "_datasets": [
    {
      "name": "media_diary",
      "title": "Simulated daily diary study: entertainment media use and wellbeing",
      "object": "media_diary",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "person",
        "self_control",
        "wellbeing",
        "screen_time",
        "stress",
        "enjoyment"
      ],
      "rows": 1400,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "decompose_within_between",
      "title": "Decompose Variables into Within-Group and Between-Group Components",
      "topics": [
        "decompose_within_between"
      ]
    },
    {
      "page": "media_diary",
      "title": "Simulated daily diary study: entertainment media use and wellbeing",
      "topics": [
        "media_diary"
      ]
    },
    {
      "page": "mldesc",
      "title": "Compute Multilevel Descriptive Statistics",
      "topics": [
        "mldesc"
      ]
    },
    {
      "page": "within_between_correlations",
      "title": "Compute Within-Group and Between-Group Correlations",
      "topics": [
        "within_between_correlations"
      ]
    }
  ],
  "_pkglogo": "https://github.com/felixdidi/mlstats/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/felixdidi/mlstats/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "cli",
    "dplyr",
    "farver",
    "generics",
    "glue",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "pillar",
    "pkgconfig",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "tinytable",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "mlstats.Rmd",
      "filename": "mlstats.html",
      "title": "Getting Started with mlstats",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example Data",
        "Multilevel Descriptive Statistics",
        "Estimation Method",
        "Customising the Output",
        "Pretty Printing",
        "Decomposing Variables into Within- and Between-Person Components",
        "References"
      ],
      "created": "2026-07-11 10:58:13",
      "modified": "2026-07-11 10:58:13",
      "commits": 1
    },
    {
      "source": "multilevel-descriptives.Rmd",
      "filename": "multilevel-descriptives.html",
      "title": "Multilevel Descriptive Statistics",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example Data",
        "Why a Single Correlation Is Not Enough",
        "Within- and Between-Group Correlations",
        "Reading the Matrix",
        "When Within and Between Diverge",
        "Estimation Method and Weighting",
        "Multilevel Descriptive Statistics",
        "Customising the Output",
        "Pipe-Friendly Output",
        "Bayesian Estimation",
        "References"
      ],
      "created": "2026-07-11 10:58:13",
      "modified": "2026-07-11 10:58:13",
      "commits": 1
    },
    {
      "source": "tables.Rmd",
      "filename": "tables.html",
      "title": "Publication-Ready Tables",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example data",
        "Default console output",
        "tinytable format",
        "Custom title and notes",
        "gt format",
        "Manipulating the result before printing",
        "Removing columns",
        "Replacing NA with a dash",
        "Renaming variables",
        "Combining manipulations",
        "Embedding in Quarto documents",
        "Word / DOCX output",
        "HTML / PDF"
      ],
      "created": "2026-07-11 10:58:13",
      "modified": "2026-07-11 10:58:13",
      "commits": 1
    },
    {
      "source": "rewb-models.Rmd",
      "filename": "rewb-models.html",
      "title": "REWB Models",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example Data",
        "Decomposing Time-Varying Predictors",
        "Selecting Components",
        "Customising Column Names",
        "Decomposing Multiple Variables at Once",
        "Fitting the REWB Model",
        "Step 1 — Within and between effects",
        "Step 2 — Accounting for confounding",
        "Adding More Predictors",
        "Adding Random Slopes",
        "Further Reading",
        "References"
      ],
      "created": "2026-07-11 10:58:13",
      "modified": "2026-07-11 10:58:13",
      "commits": 1
    },
    {
      "source": "correlation-methods.Rmd",
      "filename": "correlation-methods.html",
      "title": "Within- and Between-Group Correlation Methods",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The decomposition method",
        "Weighted vs. unweighted between-group correlations",
        "Significance testing",
        "The SEM method",
        "The Bayesian method",
        "Choosing a method",
        "References"
      ],
      "created": "2026-07-11 10:58:13",
      "modified": "2026-07-11 10:58:13",
      "commits": 1
    }
  ],
  "_score": 6.176091259055681,
  "_indexed": true,
  "_nocasepkg": "mlstats",
  "_universes": [
    "felixdidi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-07-12T08:09:08.000Z",
      "distro": "resolute",
      "commit": "f25d3806d1e1be6bce87c89f26752e15944bb1bb",
      "fileid": "https://r2.ropensci.org/ce8622ba2e9b696c6160e60f1e5260d723e3e64f846bdb056341551e7378be5d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felixdidi/actions/runs/29185178726"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-07-12T08:09:12.000Z",
      "distro": "resolute",
      "commit": "f25d3806d1e1be6bce87c89f26752e15944bb1bb",
      "fileid": "https://r2.ropensci.org/876920d7fa3b8e044206d11343f3c815d09f852a171e161c15e53e690c51c98e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felixdidi/actions/runs/29185178726"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-07-12T08:09:11.000Z",
      "commit": "f25d3806d1e1be6bce87c89f26752e15944bb1bb",
      "fileid": "https://r2.ropensci.org/c135ebd0b1cb6f8183723a0b49f2cfc3f73ea5fe12c9efac828501c623521f8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felixdidi/actions/runs/29185178726"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-07-12T08:09:12.000Z",
      "commit": "f25d3806d1e1be6bce87c89f26752e15944bb1bb",
      "fileid": "https://r2.ropensci.org/dd333d137453f9abe48fce19ec245a001b7814ad6e7954cdf079ab69f91f90cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felixdidi/actions/runs/29185178726"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-07-12T08:09:10.000Z",
      "commit": "f25d3806d1e1be6bce87c89f26752e15944bb1bb",
      "fileid": "https://r2.ropensci.org/31f7a5ac312afd47025de4858b78d67d5573b1345084a414127feca48d2d7677",
      "status": "success",
      "buildurl": "https://github.com/r-universe/felixdidi/actions/runs/29185178726"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-07-12T08:07:53.000Z",
      "commit": "f25d3806d1e1be6bce87c89f26752e15944bb1bb",
      "fileid": "https://r2.ropensci.org/1cb8c2536386d974cfcc0363fde9c4fec52da35a8fad4de8a6cc82d3655312a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felixdidi/actions/runs/29185178726"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-07-12T08:08:15.000Z",
      "commit": "f25d3806d1e1be6bce87c89f26752e15944bb1bb",
      "fileid": "https://r2.ropensci.org/f6e6c7ba4adb44c09992a0388b205a9fdc6a3a8dc0d3891d7b9c9560ca98231d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felixdidi/actions/runs/29185178726"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-07-12T08:08:15.000Z",
      "commit": "f25d3806d1e1be6bce87c89f26752e15944bb1bb",
      "fileid": "https://r2.ropensci.org/83f769f64dab4b7f35f9ca2310a3785d2533d5574fc6123e5d0f467df9771bd5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/felixdidi/actions/runs/29185178726"
    }
  ]
}