{
  "_id": "6a2493a74b233be19838609c",
  "Package": "RMeDPower2",
  "Type": "Package",
  "Title": "Design and Modeling for Repeated Measures Studies",
  "Version": "1.0.2",
  "Authors@R": "c(\nperson(\"Min-Gyoung\", \"Shin\",\nemail = \"mingyoung.shin@gladstone.ucsf.edu\",\nrole = c(\"aut\")),\nperson(\"Reuben\", \"Thomas\",\nemail = \"reuben.thomas@gladstone.ucsf.edu\",\nrole = c(\"aut\", \"cre\"))\n)",
  "Description": "Provides complete functionality to analyse data from\nrepeated measures experiments with hierarchical or crossed\nexperimental designs. Supports testing modeling assumptions,\nidentifying outlier observations and experimental units,\nestimating statistical power, and performing sample size\ncalculations. Uses linear mixed effects models via 'lme4' and\nsimulation-based power analysis via 'simr'. Handles both normal\nand non-normal error distributions including binomial and\nPoisson families. For more details see Shin et al. (2022)\n<doi:10.1101/2022.07.18.500490>, Bates et al. (2015)\n<doi:10.18637/jss.v067.i01>, Green and MacLeod (2016)\n<doi:10.1111/2041-210X.12504>, Hartig (2024)\n<doi:10.32614/CRAN.package.DHARMa>, Nieuwenhuis et al. (2012)\n<doi:10.32614/RJ-2012-011>, Millard (2013)\n<doi:10.1007/978-1-4614-8456-1> and Kuznetsova et al. (2017)\n<doi:10.18637/jss.v082.i13>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-06 21:34:16 UTC",
    "User": "root"
  },
  "Author": "Min-Gyoung Shin [aut], Reuben Thomas [aut, cre]",
  "Maintainer": "Reuben Thomas <reuben.thomas@gladstone.ucsf.edu>",
  "Config/pak/sysreqs": "cmake make libicu-dev libjpeg-dev libpng-dev\nlibuv1-dev libxml2-dev libssl-dev zlib1g-dev",
  "Repository": "https://reubenthomas.r-universe.dev",
  "Date/Publication": "2026-06-06 16:50:02 UTC",
  "RemoteUrl": "https://github.com/cran/RMeDPower2",
  "RemoteRef": "HEAD",
  "RemoteSha": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
  "MD5sum": "9ea1a06bd8300f954999f35dea219d77",
  "_user": "reubenthomas",
  "_type": "src",
  "_file": "RMeDPower2_1.0.2.tar.gz",
  "_fileid": "cef8e04053f89541f936420127aea440428f53a85b0a8fdee2d20f55145130be",
  "_filesize": 5329474,
  "_sha256": "cef8e04053f89541f936420127aea440428f53a85b0a8fdee2d20f55145130be",
  "_created": "2026-06-06T21:34:16.000Z",
  "_published": "2026-06-06T21:39:51.462Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79909462270,
      "time": 291,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7458145407"
    },
    {
      "job": 79909462277,
      "time": 268,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7458142952"
    },
    {
      "job": 79909462276,
      "time": 234,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7458136275"
    },
    {
      "job": 79909462274,
      "time": 188,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7458131890"
    },
    {
      "job": 79909186382,
      "time": 284,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7458113197"
    },
    {
      "job": 79909462260,
      "time": 148,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7458129991"
    },
    {
      "job": 79909462273,
      "time": 232,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7458139056"
    },
    {
      "job": 79909462287,
      "time": 227,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7458138587"
    },
    {
      "job": 79909462278,
      "time": 224,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7458138136"
    }
  ],
  "_buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/27074399267",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/RMeDPower2",
  "_commit": {
    "id": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
    "author": "Reuben Thomas <reuben.thomas@gladstone.ucsf.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.2\n",
    "time": 1780764602
  },
  "_maintainer": {
    "name": "Reuben Thomas",
    "email": "reuben.thomas@gladstone.ucsf.edu",
    "login": "reubenthomas",
    "description": "",
    "uuid": 11655811
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "simr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggtext",
      "role": "Imports"
    },
    {
      "package": "quantreg",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "lmerTest",
      "role": "Imports"
    },
    {
      "package": "DHARMa",
      "role": "Imports"
    },
    {
      "package": "influence.ME",
      "role": "Imports"
    },
    {
      "package": "EnvStats",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-19",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.1",
      "date": "2026-05-07"
    },
    {
      "name": "1.0.2",
      "date": "2026-06-06"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "reubenthomas",
      "count": 2,
      "uuid": 11655811
    }
  ],
  "_userbio": {
    "uuid": 11655811,
    "type": "user",
    "name": "reubenthomas"
  },
  "_downloads": {
    "count": 287,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RMeDPower2"
  },
  "_searchresults": 28,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/RMeDPower2.html",
    "manual.pdf"
  ],
  "_realowner": "reubenthomas",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2026-05-07"
    },
    {
      "version": "1.0.2",
      "date": "2026-06-06"
    }
  ],
  "_exports": [
    "calculatePower",
    "diagnoseDataModel",
    "getEstimatesOfInterest",
    "readDesign",
    "readPowerParams",
    "readProbabilityModel"
  ],
  "_datasets": [
    {
      "name": "mouse_behavior_MWM_assay_data",
      "title": "Mouse behavior data from a Morris Water Maze assay",
      "object": "mouse_behavior_MWM_assay_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "hAPP",
        "cohort",
        "MouseID",
        "Trial",
        "Latency"
      ],
      "rows": 1272,
      "table": true,
      "tojson": true
    },
    {
      "name": "mouse_brain_electro_physiology_data",
      "title": "Mouse brain electrophysiology data",
      "object": "mouse_brain_electro_physiology_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "negative_action_potential_mV",
        "Mice",
        "Genotype",
        "Sex",
        "slice_number"
      ],
      "rows": 62,
      "table": true,
      "tojson": true
    },
    {
      "name": "plate_assay_full_data",
      "title": "Full plate assay dataset",
      "object": "plate_assay_full_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "experiment",
        "line",
        "classif",
        "perim_1th_effect",
        "perim_2th_effect",
        "perim_3th_effect",
        "perim_4th_effect",
        "perim_5th_effect",
        "perim_6th_effect"
      ],
      "rows": 6305,
      "table": true,
      "tojson": true
    },
    {
      "name": "plate_assay_pilot_data",
      "title": "Pilot plate assay data",
      "object": "plate_assay_pilot_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "experiment",
        "line",
        "classification",
        "cell_size1",
        "cell_size2",
        "cell_size3",
        "cell_size4",
        "cell_size5",
        "cell_size6"
      ],
      "rows": 2588,
      "table": true,
      "tojson": true
    },
    {
      "name": "plate_assay_pilot_data_wo_repeats",
      "title": "Pilot plate assay data without repeated measurements",
      "object": "plate_assay_pilot_data_wo_repeats",
      "class": [
        "data.frame"
      ],
      "fields": [
        "X",
        "experiment",
        "plate",
        "line",
        "classification",
        "response_variable"
      ],
      "rows": 14,
      "table": true,
      "tojson": true
    },
    {
      "name": "snRNAseq_cluster_count_data",
      "title": "Single-nucleus RNA-seq cluster-level count data",
      "object": "snRNAseq_cluster_count_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sample_id",
        "animal_model",
        "total_numbers_of_cells_per_sample",
        "cluster_id",
        "number_of_cells_per_sample_in_cluster",
        "Genotype",
        "Mouse_.",
        "Sex",
        "PS19",
        "Cre",
        "ApoE",
        "DOB",
        "Age_Perfused",
        "Date_Perfused",
        "Date_of_Nuc_Isolation",
        "Hippocampus_Vol_mm",
        "X._AT8_Coverage_Area",
        "X._GFAP_Coverage_Area",
        "X._S100B_Coverage_Area",
        "X._IBA1_Coverage_Area",
        "X._CD68_Coverage_Area",
        "X._MBP_Coverage_Area",
        "X._OPC_Coverage_Area"
      ],
      "rows": 8,
      "table": true,
      "tojson": true
    },
    {
      "name": "snRNAseq_gene_count_data",
      "title": "Single-nucleus RNA-seq gene-level count data",
      "object": "snRNAseq_gene_count_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "orig.ident",
        "nCount_RNA",
        "nFeature_RNA",
        "percent.mt",
        "sample_number",
        "mouse_number",
        "genotype",
        "sex",
        "Cre",
        "ApoE",
        "dob",
        "age_perfused",
        "date_perfused",
        "date_of_nuclear_isolation",
        "nCount_SCT",
        "nFeature_SCT",
        "SCT_snn_res.0.7",
        "seurat_clusters",
        "orig_seurat_clusters",
        "y.samples.lib.size",
        "library_size",
        "constant_library_size"
      ],
      "rows": 4302,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calculatePower",
      "title": "calculatePower",
      "topics": [
        "calculatePower"
      ]
    },
    {
      "page": "diagnoseDataModel",
      "title": "diagnoseDataModel",
      "topics": [
        "diagnoseDataModel"
      ]
    },
    {
      "page": "getEstimatesOfInterest",
      "title": "getEstimatesOfInterest",
      "topics": [
        "getEstimatesOfInterest"
      ]
    },
    {
      "page": "mouse_behavior_MWM_assay_data",
      "title": "Mouse behavior data from a Morris Water Maze assay",
      "topics": [
        "mouse_behavior_MWM_assay_data"
      ]
    },
    {
      "page": "mouse_brain_electro_physiology_data",
      "title": "Mouse brain electrophysiology data",
      "topics": [
        "mouse_brain_electro_physiology_data"
      ]
    },
    {
      "page": "plate_assay_full_data",
      "title": "Full plate assay dataset",
      "topics": [
        "plate_assay_full_data"
      ]
    },
    {
      "page": "plate_assay_pilot_data",
      "title": "Pilot plate assay data",
      "topics": [
        "plate_assay_pilot_data"
      ]
    },
    {
      "page": "plate_assay_pilot_data_wo_repeats",
      "title": "Pilot plate assay data without repeated measurements",
      "topics": [
        "plate_assay_pilot_data_wo_repeats"
      ]
    },
    {
      "page": "PowerParams-class",
      "title": "PowerParams-class",
      "topics": [
        "PowerParams-class"
      ]
    },
    {
      "page": "ProbabilityModel-class",
      "title": "ProbabilityModel-class",
      "topics": [
        "ProbabilityModel-class"
      ]
    },
    {
      "page": "readDesign",
      "title": "readDesign",
      "topics": [
        "readDesign"
      ]
    },
    {
      "page": "readPowerParams",
      "title": "readPowerParams",
      "topics": [
        "readPowerParams"
      ]
    },
    {
      "page": "readProbabilityModel",
      "title": "readProbabilityModel",
      "topics": [
        "readProbabilityModel"
      ]
    },
    {
      "page": "RMeDesign-class",
      "title": "RMeDesign-class",
      "topics": [
        "RMeDesign-class"
      ]
    },
    {
      "page": "snRNAseq_cluster_count_data",
      "title": "Single-nucleus RNA-seq cluster-level count data",
      "topics": [
        "snRNAseq_cluster_count_data"
      ]
    },
    {
      "page": "snRNAseq_gene_count_data",
      "title": "Single-nucleus RNA-seq gene-level count data",
      "topics": [
        "snRNAseq_gene_count_data"
      ]
    }
  ],
  "_readme": "https://github.com/cran/RMeDPower2/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "ape",
    "askpass",
    "backports",
    "base64enc",
    "binom",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "car",
    "carData",
    "cli",
    "codetools",
    "colorspace",
    "commonmark",
    "cowplot",
    "cpp11",
    "crosstalk",
    "curl",
    "data.table",
    "Deriv",
    "DHARMa",
    "digest",
    "doBy",
    "doParallel",
    "dplyr",
    "EnvStats",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreach",
    "forecast",
    "Formula",
    "fracdiff",
    "fs",
    "gap",
    "gap.datasets",
    "generics",
    "ggplot2",
    "ggtext",
    "glue",
    "gridtext",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "httr",
    "influence.ME",
    "isoband",
    "iterators",
    "jpeg",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "litedown",
    "lme4",
    "lmerTest",
    "lmtest",
    "magrittr",
    "markdown",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mgcv",
    "microbenchmark",
    "mime",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "nortest",
    "numDeriv",
    "openssl",
    "otel",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "plotly",
    "plotrix",
    "plyr",
    "png",
    "promises",
    "purrr",
    "qgam",
    "quantreg",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "RLRsim",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "shiny",
    "simr",
    "sourcetools",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "tinytex",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xml2",
    "xtable",
    "yaml",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "ShortTutorial.Rmd",
      "filename": "ShortTutorial.html",
      "title": "RMeDPower2: helping design and analyses of data from repeated measures experiments",
      "author": "Min-Gyoung Shin, Reuben Thomas",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Getting started",
        "Installing RMeDPower2",
        "Quick tutorial",
        "Load libraries and read input data",
        "Specify design, model and power parameters",
        "Diagnose data and model",
        "Statistical power estimation",
        "Estimate parameters of interest",
        "Input data",
        "Three key classes of RMeDPower2",
        "RMeDesign S4 class",
        "ProbabilityModel S4 class",
        "PowerParams S4 class",
        "Three key functions of RMeDPower2",
        "diagnoseDataModel(data, design, model) function",
        "calculatePower(data, design, model, power_param) function",
        "getEstimatesOfInterest(data, design, model) function",
        "Application examples",
        "Plate assays",
        "Website",
        "Session info"
      ],
      "created": "2026-05-07 17:12:04",
      "modified": "2026-05-07 17:12:04",
      "commits": 1
    }
  ],
  "_score": 3.4471580313422194,
  "_indexed": true,
  "_nocasepkg": "rmedpower2",
  "_universes": [
    "reubenthomas"
  ],
  "_previous": "1.0.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-06-06T21:37:06.000Z",
      "distro": "noble",
      "commit": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
      "fileid": "6d20486dbcc91c8ba17679f6ba293fa94dbd7845882b5fcbe508f110b6dc6f22",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/27074399267"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-06-06T21:37:02.000Z",
      "distro": "noble",
      "commit": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
      "fileid": "5939c7ba26d348ce52432e286f9969ef87885c818f106e0f1f33c2d9a20563cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/27074399267"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-06-06T21:36:36.000Z",
      "commit": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
      "fileid": "42118f8ded0dc0ae270105fa639239187d6589c81f0b2ee20a5677aa699dee82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/27074399267"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-06-06T21:36:12.000Z",
      "commit": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
      "fileid": "de4cb060adf82b06eeef96a9bc3b5ecf57c7c2a834d5fa7b7b263100483d4b64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/27074399267"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-06-06T21:37:03.000Z",
      "commit": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
      "fileid": "4c8bec6ca395ba15f849efba9bf1591deaedc6511eba7e3ecb11d183bf78af6e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/27074399267"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-06-06T21:36:04.000Z",
      "commit": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
      "fileid": "ab68acaa9e536502fe473714c235c3440f7b8a85596e3e1832c263c1c4d44040",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/27074399267"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-06-06T21:35:52.000Z",
      "commit": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
      "fileid": "1ae8db7be5442168024a005885c4da8dc0924b724a1e00706df67fd939612790",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/27074399267"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-06-06T21:35:50.000Z",
      "commit": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
      "fileid": "af5d45e3bee06bb41d9cbccde7104190cbd257a43b5c559b03dd57fee6b8066a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/27074399267"
    }
  ]
}