{
  "_id": "6a19699dacfb0bcc41de9555",
  "Package": "NCC",
  "Title": "Simulation and Analysis of Platform Trials with Non-Concurrent\nControls",
  "Version": "1.0",
  "Author": "Pavla Krotka [aut, cre]\n(<https://orcid.org/0000-0001-5727-4270>), Marta Bofill Roig\n[aut, ths] (<https://orcid.org/0000-0002-4400-7541>), Katharina\nHees [aut], Peter Jacko [aut], Dominic Magirr [aut], Martin\nPosch [ctb] (<https://orcid.org/0000-0001-8499-8573>)",
  "Maintainer": "Pavla Krotka <pavla.krotka@meduniwien.ac.at>",
  "Authors@R": "c(person(given = \"Pavla\",\nfamily = \"Krotka\",\nrole = c(\"aut\", \"cre\"),\nemail = \"pavla.krotka@meduniwien.ac.at\",\ncomment = c(ORCID = \"0000-0001-5727-4270\")),\nperson(\"Marta\", \"Bofill Roig\", email = \"marta.bofillroig@meduniwien.ac.at\", role = c(\"aut\", \"ths\"), comment = c(ORCID = \"0000-0002-4400-7541\")),\nperson(\"Katharina\", \"Hees\", email = \"Katharina.Hees@pei.de\", role = c(\"aut\")),\nperson(\"Peter\", \"Jacko\", email = \"peter@berryconsultants.net\", role = c(\"aut\")),\nperson(\"Dominic\", \"Magirr\", email = \"dominic.magirr@novartis.com\", role = c(\"aut\")),\nperson(\"Martin\", \"Posch\", email = \"martin.posch@meduniwien.ac.at\", role = c(\"ctb\"), comment = c(ORCID = \"0000-0001-8499-8573\")))",
  "Description": "Design and analysis of flexible platform trials with\nnon-concurrent controls. Functions for data generation,\nanalysis, visualization and running simulation studies are\nprovided. The implemented analysis methods are described in:\nBofill Roig et al. (2022) <doi:10.1186/s12874-022-01683-w>,\nSaville et al. (2022) <doi:10.1177/17407745221112013> and\nSchmidli et al. (2014) <doi:10.1111/biom.12242>.",
  "URL": "https://pavlakrotka.github.io/NCC/,\nhttps://github.com/pavlakrotka/NCC",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.1.2",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-29 10:20:14 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2023-03-03 08:10:10 UTC",
  "RemoteUrl": "https://github.com/cran/NCC",
  "RemoteRef": "HEAD",
  "RemoteSha": "5af99152c8734d2c11928efc21bf481377f888c2",
  "MD5sum": "a56da85debeaa5ae26587c158bcf084e",
  "_user": "cran",
  "_type": "src",
  "_file": "NCC_1.0.tar.gz",
  "_fileid": "5e02a98082b1b99e5b644798898f8ed9cedaeb6f15e117f80ba327ac8e5562b5",
  "_filesize": 1058070,
  "_sha256": "5e02a98082b1b99e5b644798898f8ed9cedaeb6f15e117f80ba327ac8e5562b5",
  "_created": "2026-05-29T10:20:14.000Z",
  "_published": "2026-05-29T10:25:33.068Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78482294983,
      "time": 266,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7288518483"
    },
    {
      "job": 78482295012,
      "time": 258,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7288516035"
    },
    {
      "job": 78481761600,
      "time": 220,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7288437523"
    },
    {
      "job": 78482295015,
      "time": 162,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7288487834"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26631647913",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/NCC",
  "_commit": {
    "id": "5af99152c8734d2c11928efc21bf481377f888c2",
    "author": "Pavla Krotka <pavla.krotka@meduniwien.ac.at>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0\n",
    "time": 1677831010
  },
  "_maintainer": {
    "name": "Pavla Krotka",
    "email": "pavla.krotka@meduniwien.ac.at",
    "orcid": "0000-0001-5727-4270"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "RBesT",
      "role": "Imports"
    },
    {
      "package": "rjags",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "lmerTest",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "parallelly",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "iterators",
      "role": "Imports"
    },
    {
      "package": "spaMM",
      "role": "Imports"
    },
    {
      "package": "mgcv",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "magick",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 218,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NCC"
  },
  "_devurl": "https://github.com/pavlakrotka/ncc",
  "_pkgdown": "https://pavlakrotka.github.io/NCC/",
  "_searchresults": 25,
  "_topics": [
    "jags",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NCC.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/pavlakrotka/ncc",
  "_realowner": "pavlakrotka",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2023-03-03"
    }
  ],
  "_exports": [
    "all_models",
    "datasim_bin",
    "datasim_cont",
    "fixmodel_bin",
    "fixmodel_cal_bin",
    "fixmodel_cal_cont",
    "fixmodel_cont",
    "gam_cont",
    "get_ss_matrix",
    "inv_u_trend",
    "linear_trend",
    "MAPprior_bin",
    "MAPprior_cont",
    "mixmodel_AR1_cal_cont",
    "mixmodel_AR1_cont",
    "mixmodel_cal_cont",
    "mixmodel_cont",
    "piecewise_cal_cont",
    "piecewise_cont",
    "plot_trial",
    "poolmodel_bin",
    "poolmodel_cont",
    "seasonal_trend",
    "sepmodel_adj_bin",
    "sepmodel_adj_cont",
    "sepmodel_bin",
    "sepmodel_cont",
    "sim_study",
    "sim_study_par",
    "splines_cal_cont",
    "splines_cont",
    "sw_trend",
    "timemachine_bin",
    "timemachine_cont"
  ],
  "_help": [
    {
      "page": "datasim_bin",
      "title": "Simulate binary data from a platform trial with a shared control arm and a given number of experimental treatment arms entering at given time points",
      "topics": [
        "datasim_bin"
      ]
    },
    {
      "page": "datasim_cont",
      "title": "Simulate continuous data from a platform trial with a shared control arm and a given number of experimental treatment arms entering at given time points",
      "topics": [
        "datasim_cont"
      ]
    },
    {
      "page": "fixmodel_bin",
      "title": "Frequentist logistic regression model analysis for binary data adjusting for periods",
      "topics": [
        "fixmodel_bin"
      ]
    },
    {
      "page": "fixmodel_cal_bin",
      "title": "Frequentist logistic regression model analysis for binary data adjusting for calendar time units",
      "topics": [
        "fixmodel_cal_bin"
      ]
    },
    {
      "page": "fixmodel_cal_cont",
      "title": "Frequentist linear regression model analysis for continuous data adjusting for calendar time units",
      "topics": [
        "fixmodel_cal_cont"
      ]
    },
    {
      "page": "fixmodel_cont",
      "title": "Frequentist linear regression model analysis for continuous data adjusting for periods",
      "topics": [
        "fixmodel_cont"
      ]
    },
    {
      "page": "gam_cont",
      "title": "Generalized additive model analysis for continuous data",
      "topics": [
        "gam_cont"
      ]
    },
    {
      "page": "get_ss_matrix",
      "title": "Sample size matrix for a platform trial with a given number of treatment arms",
      "topics": [
        "get_ss_matrix"
      ]
    },
    {
      "page": "inv_u_trend",
      "title": "Generation of an inverted-u trend",
      "topics": [
        "inv_u_trend"
      ]
    },
    {
      "page": "linear_trend",
      "title": "Generation of a linear trend that starts in a given period",
      "topics": [
        "linear_trend"
      ]
    },
    {
      "page": "MAPprior_bin",
      "title": "Analysis for binary data using the MAP Prior approach",
      "topics": [
        "MAPprior_bin"
      ]
    },
    {
      "page": "MAPprior_cont",
      "title": "Analysis for continuous data using the MAP Prior approach",
      "topics": [
        "MAPprior_cont"
      ]
    },
    {
      "page": "mixmodel_AR1_cal_cont",
      "title": "Mixed regression model analysis for continuous data adjusting for calendar time units as a random factor with AR1 correlation structure",
      "topics": [
        "mixmodel_AR1_cal_cont"
      ]
    },
    {
      "page": "mixmodel_AR1_cont",
      "title": "Mixed regression model analysis for continuous data adjusting for periods as a random factor with AR1 correlation structure",
      "topics": [
        "mixmodel_AR1_cont"
      ]
    },
    {
      "page": "mixmodel_cal_cont",
      "title": "Mixed regression model analysis for continuous data adjusting for calendar time units as a random factor",
      "topics": [
        "mixmodel_cal_cont"
      ]
    },
    {
      "page": "mixmodel_cont",
      "title": "Mixed regression model analysis for continuous data adjusting for periods as a random factor",
      "topics": [
        "mixmodel_cont"
      ]
    },
    {
      "page": "piecewise_cal_cont",
      "title": "Model-based analysis for continuous data using discontinuous piecewise polynomials per calendar time unit",
      "topics": [
        "piecewise_cal_cont"
      ]
    },
    {
      "page": "piecewise_cont",
      "title": "Model-based analysis for continuous data using discontinuous piecewise polynomials per period",
      "topics": [
        "piecewise_cont"
      ]
    },
    {
      "page": "plot_trial",
      "title": "Function for visualizing the simulated trial",
      "topics": [
        "plot_trial"
      ]
    },
    {
      "page": "poolmodel_bin",
      "title": "Pooled analysis for binary data",
      "topics": [
        "poolmodel_bin"
      ]
    },
    {
      "page": "poolmodel_cont",
      "title": "Pooled analysis for continuous data",
      "topics": [
        "poolmodel_cont"
      ]
    },
    {
      "page": "seasonal_trend",
      "title": "Generation of a seasonal trend",
      "topics": [
        "seasonal_trend"
      ]
    },
    {
      "page": "sepmodel_adj_bin",
      "title": "Separate analysis for binary data adjusted for periods",
      "topics": [
        "sepmodel_adj_bin"
      ]
    },
    {
      "page": "sepmodel_adj_cont",
      "title": "Separate analysis for continuous data adjusted for periods",
      "topics": [
        "sepmodel_adj_cont"
      ]
    },
    {
      "page": "sepmodel_bin",
      "title": "Separate analysis for binary data",
      "topics": [
        "sepmodel_bin"
      ]
    },
    {
      "page": "sepmodel_cont",
      "title": "Separate analysis for continuous data",
      "topics": [
        "sepmodel_cont"
      ]
    },
    {
      "page": "sim_study",
      "title": "Wrapper function performing simulation studies for a given set of scenarios (not parallelized)",
      "topics": [
        "sim_study"
      ]
    },
    {
      "page": "sim_study_par",
      "title": "Wrapper function performing simulation studies for a given set of scenarios (parallelized on replication level)",
      "topics": [
        "sim_study_par"
      ]
    },
    {
      "page": "splines_cal_cont",
      "title": "Spline regression analysis for continuous data with knots placed according to calendar time units",
      "topics": [
        "splines_cal_cont"
      ]
    },
    {
      "page": "splines_cont",
      "title": "Spline regression analysis for continuous data with knots placed according to periods",
      "topics": [
        "splines_cont"
      ]
    },
    {
      "page": "sw_trend",
      "title": "Generation of stepwise trend with equal jumps between periods",
      "topics": [
        "sw_trend"
      ]
    },
    {
      "page": "timemachine_bin",
      "title": "Time machine analysis for binary data",
      "topics": [
        "timemachine_bin"
      ]
    },
    {
      "page": "timemachine_cont",
      "title": "Time machine analysis for continuous data",
      "topics": [
        "timemachine_cont"
      ]
    }
  ],
  "_readme": "https://github.com/cran/NCC/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "assertthat",
    "backports",
    "bayesplot",
    "BH",
    "boot",
    "callr",
    "checkmate",
    "cli",
    "coda",
    "codetools",
    "cpp11",
    "curl",
    "desc",
    "distributional",
    "doParallel",
    "dplyr",
    "farver",
    "foreach",
    "Formula",
    "generics",
    "geometry",
    "ggplot2",
    "ggridges",
    "glue",
    "gmp",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "iterators",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "linprog",
    "lme4",
    "lmerTest",
    "loo",
    "lpSolve",
    "magic",
    "magick",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "mgcv",
    "minqa",
    "mvtnorm",
    "nlme",
    "nloptr",
    "numDeriv",
    "parallelly",
    "pbapply",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "plyr",
    "posterior",
    "processx",
    "proxy",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "RBesT",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "RcppProgress",
    "Rdpack",
    "reformulas",
    "registry",
    "reshape2",
    "rjags",
    "rlang",
    "ROI",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "slam",
    "spaMM",
    "StanHeaders",
    "stringi",
    "stringr",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2404.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary\nJAGS is Just Another Gibbs Sampler.  It is a program for analysis of\nBayesian hierarchical models using Markov Chain Monte Carlo (MCMC)\nsimulation not wholly unlike BUGS.\n\nJAGS was written with three aims in mind:\n* To have an engine for the BUGS language that runs on Unix\n* To be extensible, allowing users to write their own functions,\ndistributions and samplers.\n* To be a plaftorm for experimentation with ideas in Bayesian modelling\n\nThis package contains the 'jags' binary as well as the associated\nshared library modules loaded by the binary."
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "how_to_run_sim_study.Rmd",
      "filename": "how_to_run_sim_study.html",
      "title": "How to run a simulation study",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preparing scenarios",
        "Running simulations",
        "Simulation results",
        "Type I error",
        "Bias",
        "MSE"
      ],
      "created": "2023-03-03 08:10:10",
      "modified": "2023-03-03 08:10:10",
      "commits": 1
    },
    {
      "source": "datasim_bin.Rmd",
      "filename": "datasim_bin.html",
      "title": "How to simulate binary data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "datasim_bin()",
        "Assumptions",
        "Notation",
        "Usage",
        "Input",
        "Output",
        "Examples"
      ],
      "created": "2023-03-03 08:10:10",
      "modified": "2023-03-03 08:10:10",
      "commits": 1
    },
    {
      "source": "datasim_cont.Rmd",
      "filename": "datasim_cont.html",
      "title": "How to simulate continuous data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "datasim_cont()",
        "Assumptions",
        "Notation",
        "Usage",
        "Input",
        "Output",
        "Examples"
      ],
      "created": "2023-03-03 08:10:10",
      "modified": "2023-03-03 08:10:10",
      "commits": 1
    },
    {
      "source": "ncc_intro.Rmd",
      "filename": "ncc_intro.html",
      "title": "NCC Introduction",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Non-concurrent controls in platform trials"
      ],
      "created": "2023-03-03 08:10:10",
      "modified": "2023-03-03 08:10:10",
      "commits": 1
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "ncc",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://pavlakrotka.r-universe.dev/NCC",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-05-29T10:23:10.000Z",
      "distro": "noble",
      "commit": "5af99152c8734d2c11928efc21bf481377f888c2",
      "fileid": "5d7647903a429ae551c1f566a1febdf55fece2471265a8dd891069074a4dea2e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26631647913"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-05-29T10:23:03.000Z",
      "distro": "noble",
      "commit": "5af99152c8734d2c11928efc21bf481377f888c2",
      "fileid": "6ad2b8a438bf56e28c83d7dd2a239d028a88e02c9f289baa4a1b63e555983cbb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26631647913"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-05-29T10:23:25.000Z",
      "commit": "5af99152c8734d2c11928efc21bf481377f888c2",
      "fileid": "e0b548d587e19e2d6565b76da86755e28a895e78e67777f33f97480d19346ce1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26631647913"
    }
  ]
}