{
  "_id": "6ae9c9681e2c7b3a4f533321",
  "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-11-03 10:37:30 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",
  "_user": "reubenthomas",
  "_type": "src",
  "_file": "RMeDPower2_1.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/765222565e8ea0bc2799b9b2e8ceab3d25cae674540000622dbf8a6b1eb91334",
  "_filesize": 5330448,
  "_sha256": "765222565e8ea0bc2799b9b2e8ceab3d25cae674540000622dbf8a6b1eb91334",
  "_expires": "2027-02-11T11:45:42.000Z",
  "_created": "2026-11-03T10:37:30.000Z",
  "_published": "2026-11-03T11:45:44.331Z",
  "_upstream": "https://github.com/cran/RMeDPower2",
  "_status": "success",
  "_maintainer": {
    "name": "Reuben Thomas",
    "email": "reuben.thomas@gladstone.ucsf.edu",
    "login": "reubenthomas",
    "description": "",
    "uuid": 11655811
  },
  "_jobs": [
    {
      "job": 125865970465,
      "time": 265,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13224175692"
    },
    {
      "job": 125865970455,
      "time": 248,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13222619314"
    },
    {
      "job": 125865970391,
      "time": 238,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13228275756"
    },
    {
      "job": 125865970596,
      "time": 233,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13227143177"
    },
    {
      "job": 125863532740,
      "time": 306,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13223383041"
    },
    {
      "job": 125865970524,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13222718461"
    },
    {
      "job": 125865970592,
      "time": 224,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13224205111"
    },
    {
      "job": 125865970766,
      "time": 155,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13222848782"
    },
    {
      "job": 125865970561,
      "time": 235,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13223239206"
    }
  ],
  "_buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/41620107070",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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",
    "followers": 6
  },
  "_downloads": {
    "count": 284,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RMeDPower2"
  },
  "_searchresults": 28,
  "_abi": {
    "exports": [
      {
        "key": "RMeDPower2::PowerParams",
        "hash": "af5db6134e3476ab"
      },
      {
        "key": "RMeDPower2::ProbabilityModel",
        "hash": "97a717b6ecb343f0"
      },
      {
        "key": "RMeDPower2::RMeDesign",
        "hash": "587e04302380b2be"
      }
    ],
    "imports": []
  },
  "_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/RMeDPower2.html"
  ],
  "_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",
    "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"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-11-03T10:40:06.000Z",
      "distro": "resolute",
      "commit": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
      "fileid": "https://r2.ropensci.org/b6c7ebcbc1a74e75edbca34dfd08c91bf48e796232c23e4e73ea29255f1e035e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/41620107070"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-11-03T10:40:09.000Z",
      "distro": "resolute",
      "commit": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
      "fileid": "https://r2.ropensci.org/19ce950e262a7a035dfc3833259e31e4178f2e5c3b006b22ba98ef3a2a663905",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/41620107070"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-11-03T11:43:01.000Z",
      "commit": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
      "fileid": "https://r2.ropensci.org/1eea65dc1c379247a9716d3d95788a1b81ed05f9a86430be202d5b78d7535147",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/41620107070"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-11-03T11:42:59.000Z",
      "commit": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
      "fileid": "https://r2.ropensci.org/a6bf38e0bdc0f45abbf349ea834445750431c4885478b15cf0b16015f67ae1d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/41620107070"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-11-03T10:40:09.000Z",
      "commit": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
      "fileid": "https://r2.ropensci.org/8f875d7936861fc4a2bd239f8418c465d702b90848f4c93db0f70d27b3416403",
      "status": "success",
      "buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/41620107070"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-11-03T10:38:57.000Z",
      "commit": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
      "fileid": "https://r2.ropensci.org/0dddc21a1899e0459bb5e660d4c3249e3b478e52781e6d68cc81078d0ec51fc7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/41620107070"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-11-03T10:38:46.000Z",
      "commit": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
      "fileid": "https://r2.ropensci.org/9fe3e691f0ab657406ad1ba98c2c5bed02a519ee2f48d9b39f5a93c71094d382",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/41620107070"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-11-03T10:39:12.000Z",
      "commit": "f2b8bcc50660c71a44444c5bd0fa67b992ccb9a1",
      "fileid": "https://r2.ropensci.org/3d1e5617b97ce2fd9b256ab577546df5c334f579a3d542fefb3fc9c4a5d041e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reubenthomas/actions/runs/41620107070"
    }
  ]
}