{
  "_id": "6a1f1380b401979e7341e023",
  "Package": "SCoRES",
  "Title": "Simultaneous Confidence Region Excursion Sets",
  "Version": "0.1.2",
  "Authors@R": "c(\nperson(given = \"Zhuoran\", family = \"Yu\", ,\"angela.yu@emory.edu\", role = c(\"aut\", \"cre\")),\nperson(given = \"Armin\", family = \"Schwartzman\", ,\"armins@health.ucsd.edu\", role = \"aut\"),\nperson(given = \"Junting\", family = \"Ren\", ,\"junting.ren.stat@gmail.com\", role = \"aut\"),\nperson(given = \"Julia\", family = \"Wrobel\", ,\"julia.wrobel@emory.edu\", role = \"aut\")\n)",
  "Author": "Zhuoran Yu [aut, cre], Armin Schwartzman [aut], Junting Ren\n[aut], Julia Wrobel [aut]",
  "Maintainer": "Zhuoran Yu <angela.yu@emory.edu>",
  "Description": "Provides computational tools for estimating inverse\nregions and constructing the corresponding simultaneous outer\nand inner confidence regions. Acceptable input includes both\none-dimensional and two-dimensional data for linear, logistic,\nfunctional, and spatial generalized least squares regression\nmodels. Functions are also available for constructing\nsimultaneous confidence bands (SCBs) for these models. The\ndefinition of simultaneous confidence regions (SCRs) follows\nSommerfeld et al. (2018) <doi:10.1080/01621459.2017.1341838>.\nMethods for estimating inverse regions, SCRs, and the\nnonparametric bootstrap are based on Ren et al. (2024)\n<doi:10.1093/jrsssc/qlae027>. Methods for constructing SCBs are\ndescribed in Crainiceanu et al. (2024)\n<doi:10.1201/9781003278726> and Telschow et al. (2022)\n<doi:10.1016/j.jspi.2021.05.008>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://angelayustat.github.io/SCoRES/",
  "BugReports": "https://github.com/AngelaYuStat/SCoRES/issues",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr, rmarkdown",
  "BuildVignettes": "true",
  "LazyLoad": "no",
  "ByteCompile": "false",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nmake libicu-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://angelayustat.r-universe.dev",
  "Date/Publication": "2025-11-13 00:01:46 UTC",
  "RemoteUrl": "https://github.com/angelayustat/scores",
  "RemoteRef": "HEAD",
  "RemoteSha": "7fec0b14b9c28c11cace9c6b9f4f17c099cf37bf",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-17 07:21:21 UTC",
    "User": "root"
  },
  "MD5sum": "16fec650a39bf0e797f02f3eb14e804f",
  "_user": "angelayustat",
  "_type": "src",
  "_file": "SCoRES_0.1.2.tar.gz",
  "_fileid": "67bfac532a5401f9629069fc68ba3ffd1c6d75508ddcbe40ea7d10048cf49429",
  "_filesize": 4624579,
  "_sha256": "67bfac532a5401f9629069fc68ba3ffd1c6d75508ddcbe40ea7d10048cf49429",
  "_created": "2026-05-17T07:21:21.000Z",
  "_published": "2026-06-02T17:31:44.634Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79132443720,
      "time": 213,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040400045"
    },
    {
      "job": 79132444527,
      "time": 216,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040400426"
    },
    {
      "job": 79132444151,
      "time": 172,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040393657"
    },
    {
      "job": 79132444051,
      "time": 177,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040393520"
    },
    {
      "job": 79132443735,
      "time": 289,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040375714"
    },
    {
      "job": 79132443157,
      "time": 143,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7365174320"
    },
    {
      "job": 79132443960,
      "time": 152,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7040393412"
    },
    {
      "job": 79132443867,
      "time": 166,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7040395165"
    },
    {
      "job": 79132444149,
      "time": 163,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7040394751"
    }
  ],
  "_buildurl": "https://github.com/r-universe/angelayustat/actions/runs/25984421197",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/angelayustat/scores",
  "_commit": {
    "id": "7fec0b14b9c28c11cace9c6b9f4f17c099cf37bf",
    "author": "Angela Yu <angela.yu@emory.edu>",
    "committer": "Angela Yu <angela.yu@emory.edu>",
    "message": "Ignore figures when building package\n",
    "time": 1762992106
  },
  "_maintainer": {
    "name": "Zhuoran Yu",
    "email": "angela.yu@emory.edu",
    "login": "angelayustat",
    "description": "Angela Yu from Emory University",
    "uuid": 204286356
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "metR",
      "role": "Imports"
    },
    {
      "package": "nlme",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "refund",
      "role": "Imports"
    },
    {
      "package": "reshape",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mgcv",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "angelayustat",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-22",
      "n": 1
    },
    {
      "week": "2025-23",
      "n": 1
    },
    {
      "week": "2025-24",
      "n": 7
    },
    {
      "week": "2025-25",
      "n": 3
    },
    {
      "week": "2025-29",
      "n": 2
    },
    {
      "week": "2025-30",
      "n": 5
    },
    {
      "week": "2025-31",
      "n": 6
    },
    {
      "week": "2025-32",
      "n": 15
    },
    {
      "week": "2025-33",
      "n": 2
    },
    {
      "week": "2025-34",
      "n": 4
    },
    {
      "week": "2025-35",
      "n": 8
    },
    {
      "week": "2025-36",
      "n": 3
    },
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2025-39",
      "n": 9
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2025-43",
      "n": 6
    },
    {
      "week": "2025-44",
      "n": 10
    },
    {
      "week": "2025-45",
      "n": 5
    },
    {
      "week": "2025-46",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "angelayustat",
      "count": 94,
      "uuid": 204286356
    }
  ],
  "_userbio": {
    "uuid": 204286356,
    "type": "user",
    "name": "AngelaYuStat",
    "description": "Angela Yu from Emory University"
  },
  "_downloads": {
    "count": 178,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SCoRES"
  },
  "_devurl": "https://github.com/angelayustat/scores",
  "_pkgdown": "https://angelayustat.github.io/SCoRES/",
  "_searchresults": 17,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SCoRES.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/angelayustat/scores",
  "_realowner": "angelayustat",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2025-11-17"
    }
  ],
  "_exports": [
    "cma",
    "expit",
    "mean_response_predict",
    "plot_cs",
    "prepare_pupil_fpca",
    "SCB_functional_outcome",
    "SCB_gls_geospatial",
    "SCB_linear_outcome",
    "SCB_logistic_outcome",
    "SCB_regression_coef",
    "SCB_regression_outcome",
    "scb_to_cs"
  ],
  "_datasets": [
    {
      "name": "climate_data",
      "title": "Historical and Future Summer Temperature Data in North America",
      "object": "climate_data",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "ipad",
      "title": "iPad task and physiology (40-minute timepoint)",
      "object": "ipad",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "timept",
        "use_group",
        "recent_smoke",
        "t_thc",
        "t_thc_oh",
        "t_thc_cooh",
        "t_thc_gluc",
        "t_thc_cooh_gluc",
        "t_cbg",
        "t_cbd",
        "t_cbn",
        "t_mmr1",
        "t_mmr2",
        "p_fpc1",
        "p_fpc2",
        "p_fpc3",
        "p_fpc4",
        "p_fpc5",
        "p_fpc6",
        "h_hr",
        "h_dbp",
        "h_sbp",
        "i_prop_false_timeout",
        "i_prop_failed1",
        "i_prop_failed2",
        "i_judgement_time1",
        "i_judgement_time2",
        "i_time_outside_reticle",
        "i_time_on_edge",
        "i_prop_hit",
        "i_correct_reaction2",
        "i_reaction_time_max2",
        "i_reaction_time2",
        "i_rep_shapes12",
        "i_rep_shapes34",
        "i_memory_time12",
        "i_memory_time34",
        "i_composite_score",
        "p_PMC_pctChg",
        "p_auc"
      ],
      "rows": 123,
      "table": true,
      "tojson": true
    },
    {
      "name": "pupil",
      "title": "Trajectories of Pupil Response to Light after Cannabis Use",
      "object": "pupil",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "use_group",
        "use",
        "age",
        "gender",
        "bmi",
        "alcohol",
        "seconds",
        "percent_change_baseline",
        "percent_change"
      ],
      "rows": 16500,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "climate_data",
      "title": "Historical and Future Summer Temperature Data in North America",
      "topics": [
        "climate_data"
      ]
    },
    {
      "page": "cma",
      "title": "Construct CMA Confidence Intervals via Parametric Method",
      "topics": [
        "cma"
      ]
    },
    {
      "page": "expit",
      "title": "Expit (Inverse Logit) Function",
      "topics": [
        "expit"
      ]
    },
    {
      "page": "ipad",
      "title": "iPad task and physiology (40-minute timepoint)",
      "topics": [
        "ipad"
      ]
    },
    {
      "page": "mean_response_predict",
      "title": "Functional Outcome Regression Prediction with Group-Specific Inference",
      "topics": [
        "mean_response_predict"
      ]
    },
    {
      "page": "plot_cs",
      "title": "Plot Inversion of Simultaneous Confidence Bands (SCBs) into Inner and Outer Simultaneous Confidence Regions (SCRs)",
      "topics": [
        "plot_cs"
      ]
    },
    {
      "page": "prepare_pupil_fpca",
      "title": "Prepare Pupil FPCA Dataset",
      "topics": [
        "prepare_pupil_fpca"
      ]
    },
    {
      "page": "pupil",
      "title": "Trajectories of Pupil Response to Light after Cannabis Use",
      "topics": [
        "pupil"
      ]
    },
    {
      "page": "SCB_functional_outcome",
      "title": "Construct Simultaneous Confidence Bands (SCB) For One Dimensional Functional Data",
      "topics": [
        "SCB_functional_outcome"
      ]
    },
    {
      "page": "SCB_gls_geospatial",
      "title": "Construct Simultaneous Confidence Bands for a Spatial Generalized Least Squares Model",
      "topics": [
        "SCB_gls_geospatial"
      ]
    },
    {
      "page": "SCB_linear_outcome",
      "title": "Construct Simultaneous Confidence Bands for Linear Regression Outcome",
      "topics": [
        "SCB_linear_outcome"
      ]
    },
    {
      "page": "SCB_logistic_outcome",
      "title": "Construct Simultaneous Confidence Bands for a Logistic Regression Outcome",
      "topics": [
        "SCB_logistic_outcome"
      ]
    },
    {
      "page": "SCB_regression_coef",
      "title": "Construct Simultaneous Confidence Bands for Regression Coefficients",
      "topics": [
        "SCB_regression_coef"
      ]
    },
    {
      "page": "SCB_regression_outcome",
      "title": "Simultaneous Confidence Bands for Regression Outcomes or Coefficients",
      "topics": [
        "SCB_regression_outcome"
      ]
    },
    {
      "page": "scb_to_cs",
      "title": "Construct Simultaneous Confidence Region for Excursion/Interval Sets from Simultaneous Confidence Bands",
      "topics": [
        "scb_to_cs"
      ]
    }
  ],
  "_readme": "https://github.com/angelayustat/scores/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "ash",
    "backports",
    "bitops",
    "boot",
    "cachem",
    "checkmate",
    "class",
    "classInt",
    "cli",
    "cluster",
    "colorspace",
    "cpp11",
    "data.table",
    "DBI",
    "deSolve",
    "digest",
    "dplyr",
    "e1071",
    "farver",
    "fastmap",
    "fda",
    "fds",
    "FNN",
    "forcats",
    "Formula",
    "formula.tools",
    "gamm4",
    "generics",
    "ggplot2",
    "glue",
    "grpreg",
    "gtable",
    "hdrcde",
    "isoband",
    "kernlab",
    "KernSmooth",
    "ks",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "locfit",
    "lubridate",
    "magic",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "mclust",
    "memoise",
    "metR",
    "mgcv",
    "minqa",
    "multicool",
    "mvtnorm",
    "nlme",
    "nloptr",
    "operator.tools",
    "patchwork",
    "pbs",
    "pcaPP",
    "pillar",
    "pkgconfig",
    "plyr",
    "pracma",
    "proxy",
    "purrr",
    "R6",
    "rainbow",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RCurl",
    "Rdpack",
    "reformulas",
    "refund",
    "reshape",
    "rlang",
    "RLRsim",
    "s2",
    "S7",
    "scales",
    "sf",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "Functional_Data_Example.Rmd",
      "filename": "Functional_Data_Example.html",
      "title": "Functional_Data_Example",
      "author": "Zhuoran (Angela) Yu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Correlation and Multiplicity Adjusted (CMA) Confidence Bands",
        "SCB for Mean Outcome Function",
        "SCB for Coefficient Function",
        "Multiplier-t Bootstrap Confidence Bands",
        "An Extended Example"
      ],
      "created": "2025-07-22 04:11:39",
      "modified": "2025-11-12 23:36:31",
      "commits": 22
    },
    {
      "source": "Geographic_Data_Example.Rmd",
      "filename": "Geographic_Data_Example.html",
      "title": "Geographic_Data_Example",
      "author": "Zhuoran (Angela) Yu",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-08-11 10:20:43",
      "modified": "2025-11-12 23:36:31",
      "commits": 10
    },
    {
      "source": "Linear_Model_Example.Rmd",
      "filename": "Linear_Model_Example.html",
      "title": "Linear_Model_Example",
      "author": "Zhuoran (Angela) Yu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "SCBs for Mean Outcome of Linear Model",
        "SCBs for Mean Outcome of Logistic Model",
        "SCBs for Coefficients of Linear/Logistic Model"
      ],
      "created": "2025-07-22 04:11:39",
      "modified": "2025-11-12 23:36:31",
      "commits": 20
    },
    {
      "source": "Methods.Rmd",
      "filename": "Methods.html",
      "title": "Methods",
      "author": "Zhuoran (Angela) Yu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Definition of Inverse Set and Introduction of the Estimation Method",
        "Linear Function-on-Scalar Regression (FoSR)",
        "Accounting for Error Correlation",
        "Modeling residuals with FPCA and gam",
        "Estimate the FPCA for GAMM FPCA model",
        "Construction of Simultaneous Confidence Bands for Functional Regression Model",
        "Correlation and Multiplicity Adjusted (CMA) Confidence Bands Based on Parameter Simulations",
        "Multiplier-t Bootstrap Procedure for Constructing Confidence Bands",
        "Construction of Simultaneous Confidence Bands for Linear/Logistic Regression Model",
        "Construction of SCB for Spatial Generalized Least Squares Model"
      ],
      "created": "2025-07-22 04:11:39",
      "modified": "2025-11-04 16:22:47",
      "commits": 16
    },
    {
      "source": "SCoRES.Rmd",
      "filename": "SCoRES.html",
      "title": "SCoRES: a vignette",
      "author": "Zhuoran (Angela) Yu",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-07-28 00:02:50",
      "modified": "2025-10-27 17:52:08",
      "commits": 4
    }
  ],
  "_score": 6.251638220448212,
  "_indexed": true,
  "_nocasepkg": "scores",
  "_universes": [
    "angelayustat"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-17T07:24:04.000Z",
      "distro": "noble",
      "commit": "7fec0b14b9c28c11cace9c6b9f4f17c099cf37bf",
      "fileid": "45f1f53ac21def69c80bddf3df6d442f14a71f7f577c3b6917f5ec3038ee1c6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angelayustat/actions/runs/25984421197"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-17T07:24:08.000Z",
      "distro": "noble",
      "commit": "7fec0b14b9c28c11cace9c6b9f4f17c099cf37bf",
      "fileid": "6c77b9a5251ef8fb932267f78c0840327dbcff434ef50f50a3d06f590ec401f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angelayustat/actions/runs/25984421197"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-17T07:23:34.000Z",
      "commit": "7fec0b14b9c28c11cace9c6b9f4f17c099cf37bf",
      "fileid": "337822d4f222df249735d136cf6b752709ce172ff1ed58f4afe67e6750f3b8fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angelayustat/actions/runs/25984421197"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-17T07:23:24.000Z",
      "commit": "7fec0b14b9c28c11cace9c6b9f4f17c099cf37bf",
      "fileid": "b01eff227fe7253ab098e03279cf25c0a63ce034e4eef46972a016837bc2fb67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angelayustat/actions/runs/25984421197"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-17T07:22:48.000Z",
      "commit": "7fec0b14b9c28c11cace9c6b9f4f17c099cf37bf",
      "fileid": "7c56358ea00fd66df5757ef747ef6f448ce707d3e8c017cccb743da372ee42fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angelayustat/actions/runs/25984421197"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-17T07:22:59.000Z",
      "commit": "7fec0b14b9c28c11cace9c6b9f4f17c099cf37bf",
      "fileid": "ece3d64c7094360c5f43f12fa557cc0d202610e491e92e1293f8bca4994aecc9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angelayustat/actions/runs/25984421197"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-17T07:23:00.000Z",
      "commit": "7fec0b14b9c28c11cace9c6b9f4f17c099cf37bf",
      "fileid": "1fa7b26ea028b50e3917866424f6e79739482d500cdb0b4d51792f0e5bc88436",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/angelayustat/actions/runs/25984421197"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-06-02T17:31:18.000Z",
      "commit": "7fec0b14b9c28c11cace9c6b9f4f17c099cf37bf",
      "fileid": "fb66e2ed96b6398be4e163defc74c425963ab93ff3dd1e3b572ecc18f4167441",
      "status": "success",
      "buildurl": "https://github.com/r-universe/angelayustat/actions/runs/25984421197"
    }
  ]
}