{
  "_id": "6a23ca13530b9bc726be146a",
  "Package": "gspcr",
  "Title": "Generalized Supervised Principal Component Regression",
  "Version": "0.9.5",
  "Authors@R": "person(\"Edoardo\", \"Costantini\", , \"costantini.edoardo@yahoo.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-9581-9913\"))",
  "Description": "Generalization of supervised principal component\nregression (SPCR; Bair et al., 2006,\n<doi:10.1198/016214505000000628>) to support continuous,\nbinary, and discrete variables as outcomes and predictors\n(inspired by the 'superpc' R package\n<https://cran.r-project.org/package=superpc>).",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-06 07:15:42 UTC",
    "User": "root"
  },
  "Author": "Edoardo Costantini [aut, cre]\n(<https://orcid.org/0000-0001-9581-9913>)",
  "Maintainer": "Edoardo Costantini <costantini.edoardo@yahoo.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2024-04-13 02:28:33 UTC",
  "RemoteUrl": "https://github.com/cran/gspcr",
  "RemoteRef": "HEAD",
  "RemoteSha": "8d414d7429f037f1262c666aff3843c4ec644b6c",
  "MD5sum": "e9470f374ef8f3a4744f36dbf1d414f4",
  "_user": "cran",
  "_type": "src",
  "_file": "gspcr_0.9.5.tar.gz",
  "_fileid": "90570b58f68ed439c37532a492af43f44b65908d539258681488705413ac4972",
  "_filesize": 3246873,
  "_sha256": "90570b58f68ed439c37532a492af43f44b65908d539258681488705413ac4972",
  "_created": "2026-06-06T07:15:42.000Z",
  "_published": "2026-06-06T07:19:47.765Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79860323954,
      "time": 191,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7452354659"
    },
    {
      "job": 79860324000,
      "time": 213,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452357173"
    },
    {
      "job": 79860098256,
      "time": 222,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452328552"
    },
    {
      "job": 79860323942,
      "time": 151,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452349100"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27055817897",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/gspcr",
  "_commit": {
    "id": "8d414d7429f037f1262c666aff3843c4ec644b6c",
    "author": "Edoardo Costantini <costantini.edoardo@yahoo.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.9.5\n",
    "time": 1712975313
  },
  "_maintainer": {
    "name": "Edoardo Costantini",
    "email": "costantini.edoardo@yahoo.com",
    "orcid": "0000-0001-9581-9913"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "FactoMineR",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "MLmetrics",
      "role": "Imports"
    },
    {
      "package": "nnet",
      "role": "Imports"
    },
    {
      "package": "PCAmixdata",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lmtest",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "superpc",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 134,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gspcr"
  },
  "_searchresults": 10,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gspcr.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.9.4",
      "date": "2023-11-17"
    },
    {
      "version": "0.9.4.1",
      "date": "2023-11-22"
    },
    {
      "version": "0.9.5",
      "date": "2024-04-12"
    }
  ],
  "_exports": [
    "compute_sc",
    "cp_AIC",
    "cp_BIC",
    "cp_F",
    "cp_gR2",
    "cp_LRT",
    "cp_thrs_LLS",
    "cp_thrs_NOR",
    "cp_thrs_PR2",
    "cp_validation_fit",
    "cv_average",
    "cv_choose",
    "cv_gspcr",
    "est_gspcr",
    "est_univ_mods",
    "LL_baseline",
    "LL_binomial",
    "LL_cumulative",
    "LL_gaussian",
    "LL_newdata",
    "LL_poisson",
    "pca_mix"
  ],
  "_datasets": [
    {
      "name": "CFA_data",
      "title": "CFA example data",
      "object": "CFA_data",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "GSPCRexdata",
      "title": "GSPCR example data",
      "object": "GSPCRexdata",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "CFA_data",
      "title": "CFA example data",
      "topics": [
        "CFA_data"
      ]
    },
    {
      "page": "compute_sc",
      "title": "Compute the GLM systematic component.",
      "topics": [
        "compute_sc"
      ]
    },
    {
      "page": "cp_AIC",
      "title": "Compute Akaike's information criterion",
      "topics": [
        "cp_AIC"
      ]
    },
    {
      "page": "cp_BIC",
      "title": "Compute bayesian information criterion",
      "topics": [
        "cp_BIC"
      ]
    },
    {
      "page": "cp_F",
      "title": "Compute F statistic",
      "topics": [
        "cp_F"
      ]
    },
    {
      "page": "cp_gR2",
      "title": "Compute generalized R-squared",
      "topics": [
        "cp_gR2"
      ]
    },
    {
      "page": "cp_LRT",
      "title": "Compute likelihood ratio test",
      "topics": [
        "cp_LRT"
      ]
    },
    {
      "page": "cp_thrs_LLS",
      "title": "Compute threshold values based on Log-likelihood values",
      "topics": [
        "cp_thrs_LLS"
      ]
    },
    {
      "page": "cp_thrs_NOR",
      "title": "Compute normalized association measure",
      "topics": [
        "cp_thrs_NOR"
      ]
    },
    {
      "page": "cp_thrs_PR2",
      "title": "Compute threshold values based on the pseudo R2",
      "topics": [
        "cp_thrs_PR2"
      ]
    },
    {
      "page": "cp_validation_fit",
      "title": "Compute fit measure(s) on the validation data set",
      "topics": [
        "cp_validation_fit"
      ]
    },
    {
      "page": "cv_average",
      "title": "Average fit measures computed in the K-fold cross-validation procedure",
      "topics": [
        "cv_average"
      ]
    },
    {
      "page": "cv_choose",
      "title": "Cross-validation choice",
      "topics": [
        "cv_choose"
      ]
    },
    {
      "page": "cv_gspcr",
      "title": "Cross-validation of Generalized Principal Component Regression",
      "topics": [
        "cv_gspcr"
      ]
    },
    {
      "page": "est_gspcr",
      "title": "Estimate Generalized Principal Component Regression",
      "topics": [
        "est_gspcr"
      ]
    },
    {
      "page": "est_univ_mods",
      "title": "Estimate simple GLM models",
      "topics": [
        "est_univ_mods"
      ]
    },
    {
      "page": "GSPCRexdata",
      "title": "GSPCR example data",
      "topics": [
        "GSPCRexdata"
      ]
    },
    {
      "page": "LL_baseline",
      "title": "Baseline category logistic regression log-likelihood",
      "topics": [
        "LL_baseline"
      ]
    },
    {
      "page": "LL_binomial",
      "title": "Binomial log-likelihood",
      "topics": [
        "LL_binomial"
      ]
    },
    {
      "page": "LL_cumulative",
      "title": "Proportional odds model log-likelihood",
      "topics": [
        "LL_cumulative"
      ]
    },
    {
      "page": "LL_gaussian",
      "title": "Gaussian log-likelihood",
      "topics": [
        "LL_gaussian"
      ]
    },
    {
      "page": "LL_newdata",
      "title": "Log-Likelihood for new data",
      "topics": [
        "LL_newdata"
      ]
    },
    {
      "page": "LL_poisson",
      "title": "Poisson regression log-likelihood",
      "topics": [
        "LL_poisson"
      ]
    },
    {
      "page": "pca_mix",
      "title": "PCA of a mixture of numerical and categorical data",
      "topics": [
        "pca_mix"
      ]
    },
    {
      "page": "plot.gspcrcv",
      "title": "Plot the cross-validation solution path for the GSPCR algorithm",
      "topics": [
        "plot.gspcrcv"
      ]
    },
    {
      "page": "predict.gspcrout",
      "title": "Predict GSPCR model dependent variable scores",
      "topics": [
        "predict.gspcrout"
      ]
    }
  ],
  "_readme": "https://github.com/cran/gspcr/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "base64enc",
    "bitops",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "car",
    "carData",
    "caTools",
    "cli",
    "cluster",
    "colorspace",
    "cowplot",
    "cpp11",
    "crosstalk",
    "Deriv",
    "digest",
    "doBy",
    "dplyr",
    "DT",
    "ellipse",
    "emmeans",
    "estimability",
    "evaluate",
    "FactoMineR",
    "farver",
    "fastmap",
    "flashClust",
    "fontawesome",
    "forecast",
    "Formula",
    "fracdiff",
    "fs",
    "generics",
    "ggplot2",
    "ggrepel",
    "glue",
    "gplots",
    "gtable",
    "gtools",
    "highr",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "leaps",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mgcv",
    "microbenchmark",
    "mime",
    "minqa",
    "MLmetrics",
    "modelr",
    "multcompView",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "otel",
    "pbkrtest",
    "PCAmixdata",
    "pillar",
    "pkgconfig",
    "plyr",
    "promises",
    "purrr",
    "quantreg",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "reshape2",
    "rlang",
    "rmarkdown",
    "ROCR",
    "S7",
    "sass",
    "scales",
    "scatterplot3d",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "tinytex",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "vignette-1-example-analysis.Rmd",
      "filename": "vignette-1-example-analysis.html",
      "title": "Vignette 1: Example analysis with GSPCR",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Parameter tuning",
        "Graphical output",
        "Estimation",
        "Prediction",
        "References"
      ],
      "created": "2023-11-18 02:37:33",
      "modified": "2023-11-22 02:41:41",
      "commits": 2
    },
    {
      "source": "vignette-2-gspcr-arguments.Rmd",
      "filename": "vignette-2-gspcr-arguments.html",
      "title": "Vignette 2: GSPCR specification options",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Association measures",
        "Fit measures",
        "Number of components"
      ],
      "created": "2023-11-18 02:37:33",
      "modified": "2023-11-22 02:41:41",
      "commits": 2
    },
    {
      "source": "vignette-3-alternatives.Rmd",
      "filename": "vignette-3-alternatives.html",
      "title": "Vignette 3: Alternatives approaches",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Compare results with superpc",
        "Is K-fold cross-validation working?",
        "1SE solutions",
        "Alternatives to CV"
      ],
      "created": "2023-11-18 02:37:33",
      "modified": "2023-11-22 02:41:41",
      "commits": 2
    }
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "gspcr",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.5",
      "date": "2026-06-06T07:18:07.000Z",
      "distro": "noble",
      "commit": "8d414d7429f037f1262c666aff3843c4ec644b6c",
      "fileid": "262abc4306b052457b532e05d07c48b53e33046f1e924bf0e73d36c71b0e2e0a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27055817897"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.5",
      "date": "2026-06-06T07:18:26.000Z",
      "distro": "noble",
      "commit": "8d414d7429f037f1262c666aff3843c4ec644b6c",
      "fileid": "cbfda50f1d58c4f1b1842ab9d883faedd87fd22d2248968647638fd228a84151",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27055817897"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.5",
      "date": "2026-06-06T07:18:28.000Z",
      "commit": "8d414d7429f037f1262c666aff3843c4ec644b6c",
      "fileid": "db23f94680735eafac730043b0e818e74de1effa54474c63d55ec3a14bdd2d41",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27055817897"
    }
  ]
}