{
  "_id": "6a0f6ac9acfb0bcc41c5e3e2",
  "Package": "pls",
  "Title": "Partial Least Squares and Principal Component Regression",
  "Version": "2.9-0",
  "Date": "2026-02-20",
  "Authors@R": "c(person(\"Kristian Hovde\", \"Liland\", role = c(\"aut\", \"cre\"),\nemail = \"kristian.liland@nmbu.no\"),\nperson(\"Bjørn-Helge\", \"Mevik\", role = \"aut\" ,\nemail = \"b-h@mevik.net\"),\nperson(\"Ron\", \"Wehrens\", role = \"aut\"),\nperson(\"Paul\",  \"Hiemstra\", role = \"ctb\"))",
  "Author": "Kristian Hovde Liland [aut, cre], Bjørn-Helge Mevik [aut], Ron\nWehrens [aut], Paul Hiemstra [ctb]",
  "Maintainer": "Kristian Hovde Liland <kristian.liland@nmbu.no>",
  "Encoding": "UTF-8",
  "LazyData": "yes",
  "Description": "Multivariate regression methods Partial Least Squares\nRegression (PLSR), Principal Component Regression (PCR) and\nCanonical Powered Partial Least Squares (CPPLS).",
  "License": "GPL-2",
  "URL": "https://github.com/khliland/pls, https://khliland.github.io/pls/",
  "BugReports": "https://github.com/khliland/pls/issues",
  "Config/testthat/edition": "2",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Repository": "https://khliland.r-universe.dev",
  "Date/Publication": "2026-02-20 20:28:16 UTC",
  "RemoteUrl": "https://github.com/khliland/pls",
  "RemoteRef": "HEAD",
  "RemoteSha": "7a7e9cf35c29da301005d5921134e99a3ced9a61",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-21 08:41:18 UTC",
    "User": "root"
  },
  "MD5sum": "dd4f866b7ee7e1acc0c1872fe18c5a7e",
  "_user": "khliland",
  "_type": "src",
  "_file": "pls_2.9-0.tar.gz",
  "_fileid": "de13cb49d41cb1a1018b9b7215bc4c9eef732f421454f9503486c81df441d880",
  "_filesize": 5201872,
  "_sha256": "de13cb49d41cb1a1018b9b7215bc4c9eef732f421454f9503486c81df441d880",
  "_created": "2026-05-21T08:41:18.000Z",
  "_published": "2026-05-21T20:27:53.268Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77262236801,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7131187608"
    },
    {
      "job": 77262237375,
      "time": 137,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131190395"
    },
    {
      "job": 77262237336,
      "time": 116,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7131183076"
    },
    {
      "job": 77262237350,
      "time": 121,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131184573"
    },
    {
      "job": 77262236461,
      "time": 178,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131142261"
    },
    {
      "job": 77262236425,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7146430870"
    },
    {
      "job": 77262237204,
      "time": 89,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7131174217"
    },
    {
      "job": 77262237312,
      "time": 80,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7131170837"
    },
    {
      "job": 77262237288,
      "time": 82,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7131171129"
    }
  ],
  "_buildurl": "https://github.com/r-universe/khliland/actions/runs/26215172536",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/khliland/pls",
  "_commit": {
    "id": "7a7e9cf35c29da301005d5921134e99a3ced9a61",
    "author": "Kristian Hovde Liland <khliland@users.noreply.github.com>",
    "committer": "Kristian Hovde Liland <khliland@users.noreply.github.com>",
    "message": "pls 2.9-0\n",
    "time": 1771619296
  },
  "_maintainer": {
    "name": "Kristian Hovde Liland",
    "email": "kristian.liland@nmbu.no",
    "login": "khliland",
    "description": "",
    "uuid": 9257806
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "Rmpi",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "RUnit",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    }
  ],
  "_owner": "khliland",
  "_selfowned": true,
  "_usedby": 92,
  "_updates": [
    {
      "week": "2025-21",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 2
    },
    {
      "week": "2026-07",
      "n": 5
    },
    {
      "week": "2026-08",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 39,
  "_contributors": [
    {
      "user": "bhmevik",
      "count": 193,
      "uuid": 20460457
    },
    {
      "user": "khliland",
      "count": 25,
      "uuid": 9257806
    },
    {
      "user": "rwehrens",
      "count": 4,
      "uuid": 5754219
    }
  ],
  "_userbio": {
    "uuid": 9257806,
    "type": "user",
    "name": "Kristian Hovde Liland"
  },
  "_downloads": {
    "count": 35950,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pls"
  },
  "_mentions": 137,
  "_devurl": "https://github.com/khliland/pls",
  "_pkgdown": "https://khliland.github.io/pls/",
  "_searchresults": 4448,
  "_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/pls.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/khliland/pls",
  "_realowner": "khliland",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1-1",
      "date": "1999-01-11"
    },
    {
      "version": "0.1-2",
      "date": "2000-12-11"
    },
    {
      "version": "0.1-3",
      "date": "2002-09-17"
    },
    {
      "version": "1.0-1",
      "date": "2005-04-01"
    },
    {
      "version": "1.0-2",
      "date": "2005-04-04"
    },
    {
      "version": "1.0-3",
      "date": "2005-05-18"
    },
    {
      "version": "1.1-0",
      "date": "2005-10-07"
    },
    {
      "version": "1.2-0",
      "date": "2006-02-22"
    },
    {
      "version": "1.2-1",
      "date": "2006-04-24"
    },
    {
      "version": "2.0-0",
      "date": "2006-12-21"
    },
    {
      "version": "2.0-1",
      "date": "2007-04-19"
    },
    {
      "version": "2.1-0",
      "date": "2007-10-18"
    },
    {
      "version": "2.2-0",
      "date": "2011-10-20"
    },
    {
      "version": "2.3-0",
      "date": "2011-11-28"
    },
    {
      "version": "2.4-3",
      "date": "2013-08-10"
    },
    {
      "version": "2.5-0",
      "date": "2015-08-22"
    },
    {
      "version": "2.6-0",
      "date": "2016-12-18"
    },
    {
      "version": "2.7-0",
      "date": "2018-08-21"
    },
    {
      "version": "2.7-1",
      "date": "2019-03-23"
    },
    {
      "version": "2.7-2",
      "date": "2019-10-01"
    },
    {
      "version": "2.7-3",
      "date": "2020-08-07"
    },
    {
      "version": "2.8-0",
      "date": "2021-09-03"
    },
    {
      "version": "2.8-1",
      "date": "2022-07-16"
    },
    {
      "version": "2.8-2",
      "date": "2023-05-19"
    },
    {
      "version": "2.8-3",
      "date": "2023-11-17"
    },
    {
      "version": "2.8-4",
      "date": "2024-08-01"
    },
    {
      "version": "2.8-5",
      "date": "2024-09-15"
    },
    {
      "version": "2.9-0",
      "date": "2026-02-21"
    }
  ],
  "_exports": [
    "coefplot",
    "compnames",
    "corrplot",
    "cppls",
    "cppls.fit",
    "crossval",
    "cvsegments",
    "explvar",
    "fac2seg",
    "jack.test",
    "kernelpls.fit",
    "loading.weights",
    "loadingplot",
    "loadings",
    "msc",
    "MSEP",
    "mvr",
    "mvrValstats",
    "nipals",
    "nipals.fit",
    "nipalspc.fit",
    "nipalspcr",
    "oscorespls.fit",
    "pcr",
    "pls.options",
    "plsr",
    "prednames",
    "predplot",
    "predplotXy",
    "R2",
    "respnames",
    "RMSEP",
    "scoreplot",
    "scores",
    "selectNcomp",
    "simpls.fit",
    "stdize",
    "svdpc.fit",
    "validationplot",
    "var.jack",
    "widekernelpls.fit",
    "Yloadings",
    "Yscores"
  ],
  "_datasets": [
    {
      "name": "gasoline",
      "title": "Octane numbers and NIR spectra of gasoline",
      "object": "gasoline",
      "class": [
        "data.frame"
      ],
      "fields": [
        "octane",
        "NIR"
      ],
      "rows": 60,
      "table": false,
      "tojson": true
    },
    {
      "name": "mayonnaise",
      "title": "NIR measurements and oil types of mayonnaise",
      "object": "mayonnaise",
      "class": [
        "data.frame"
      ],
      "fields": [
        "NIR",
        "oil.type",
        "design",
        "train"
      ],
      "rows": 162,
      "table": false,
      "tojson": true
    },
    {
      "name": "oliveoil",
      "title": "Sensory and physico-chemical data of olive oils",
      "object": "oliveoil",
      "class": [
        "data.frame"
      ],
      "fields": [
        "chemical",
        "sensory"
      ],
      "rows": 16,
      "table": false,
      "tojson": true
    },
    {
      "name": "yarn",
      "title": "NIR spectra and density measurements of PET yarns",
      "object": "yarn",
      "class": [
        "data.frame"
      ],
      "fields": [
        "NIR",
        "density",
        "train"
      ],
      "rows": 28,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "biplot.mvr",
      "title": "Biplots of PLSR and PCR Models.",
      "topics": [
        "biplot.mvr"
      ]
    },
    {
      "page": "coef.mvr",
      "title": "Extract Information From a Fitted PLSR or PCR Model",
      "topics": [
        "coef.mvr",
        "compnames",
        "explvar",
        "fitted.mvr",
        "model.frame.mvr",
        "model.matrix.mvr",
        "prednames",
        "residuals.mvr",
        "respnames"
      ]
    },
    {
      "page": "coefplot",
      "title": "Plot Regression Coefficients of PLSR and PCR models",
      "topics": [
        "coefplot"
      ]
    },
    {
      "page": "cppls.fit",
      "title": "CPPLS (Indahl et al.)",
      "topics": [
        "cppls.fit"
      ]
    },
    {
      "page": "crossval",
      "title": "Cross-validation of PLSR and PCR models",
      "topics": [
        "crossval"
      ]
    },
    {
      "page": "cvsegments",
      "title": "Generate segments for cross-validation",
      "topics": [
        "cvsegments"
      ]
    },
    {
      "page": "fac2seg",
      "title": "Factor to Segments",
      "topics": [
        "fac2seg"
      ]
    },
    {
      "page": "gasoline",
      "title": "Octane numbers and NIR spectra of gasoline",
      "topics": [
        "gasoline"
      ]
    },
    {
      "page": "jack.test",
      "title": "Jackknife approximate t tests of regression coefficients",
      "topics": [
        "jack.test",
        "print.jacktest"
      ]
    },
    {
      "page": "kernelpls.fit",
      "title": "Kernel PLS (Dayal and MacGregor)",
      "topics": [
        "kernelpls.fit"
      ]
    },
    {
      "page": "mayonnaise",
      "title": "NIR measurements and oil types of mayonnaise",
      "topics": [
        "mayonnaise"
      ]
    },
    {
      "page": "msc",
      "title": "Multiplicative Scatter Correction",
      "topics": [
        "makepredictcall.msc",
        "msc",
        "predict.msc"
      ]
    },
    {
      "page": "mvr",
      "title": "Partial Least Squares and Principal Component Regression",
      "topics": [
        "cppls",
        "mvr",
        "nipals",
        "nipalspcr",
        "pcr",
        "plsr"
      ]
    },
    {
      "page": "mvrCv",
      "title": "Cross-validation",
      "topics": [
        "mvrCv"
      ]
    },
    {
      "page": "mvrVal",
      "title": "MSEP, RMSEP and R2 of PLSR and PCR models",
      "topics": [
        "MSEP",
        "MSEP.mvr",
        "mvrVal",
        "mvrValstats",
        "R2",
        "R2.mvr",
        "RMSEP",
        "RMSEP.mvr"
      ]
    },
    {
      "page": "nipals.fit",
      "title": "NIPALS PLS with missing values",
      "topics": [
        "nipals.fit"
      ]
    },
    {
      "page": "nipalspc.fit",
      "title": "NIPALS PCR with missing values",
      "topics": [
        "nipalspc.fit"
      ]
    },
    {
      "page": "oliveoil",
      "title": "Sensory and physico-chemical data of olive oils",
      "topics": [
        "oliveoil"
      ]
    },
    {
      "page": "oscorespls.fit",
      "title": "Orthogonal scores PLSR",
      "topics": [
        "oscorespls.fit"
      ]
    },
    {
      "page": "plot.mvr",
      "title": "Plot Method for MVR objects",
      "topics": [
        "plot.mvr"
      ]
    },
    {
      "page": "pls.options",
      "title": "Set or return options for the pls package",
      "topics": [
        "pls.options"
      ]
    },
    {
      "page": "predict.mvr",
      "title": "Predict Method for PLSR and PCR",
      "topics": [
        "predict.mvr"
      ]
    },
    {
      "page": "predplot",
      "title": "Prediction Plots",
      "topics": [
        "predplot",
        "predplot.default",
        "predplot.mvr",
        "predplotXy"
      ]
    },
    {
      "page": "summary.mvr",
      "title": "Summary and Print Methods for PLSR and PCR objects",
      "topics": [
        "as.data.frame.mvrVal",
        "print.mvr",
        "print.mvrVal",
        "summary.mvr"
      ]
    },
    {
      "page": "scoreplot",
      "title": "Plots of Scores, Loadings and Correlation Loadings",
      "topics": [
        "corrplot",
        "loadingplot",
        "loadingplot.default",
        "plot.loadings",
        "plot.scores",
        "scoreplot",
        "scoreplot.default"
      ]
    },
    {
      "page": "scores",
      "title": "Extract Scores and Loadings from PLSR and PCR Models",
      "topics": [
        "loading.weights",
        "loadings",
        "loadings.default",
        "scores",
        "scores.default",
        "Yloadings",
        "Yscores"
      ]
    },
    {
      "page": "selectNcomp",
      "title": "Suggestions for the optimal number of components in PCR and PLSR models",
      "topics": [
        "selectNcomp"
      ]
    },
    {
      "page": "simpls.fit",
      "title": "Sijmen de Jong's SIMPLS",
      "topics": [
        "simpls.fit"
      ]
    },
    {
      "page": "stdize",
      "title": "Standardization of Data Matrices",
      "topics": [
        "makepredictcall.stdized",
        "predict.stdized",
        "stdize"
      ]
    },
    {
      "page": "svdpc.fit",
      "title": "Principal Component Regression",
      "topics": [
        "svdpc.fit"
      ]
    },
    {
      "page": "validationplot",
      "title": "Validation Plots",
      "topics": [
        "plot.mvrVal",
        "validationplot"
      ]
    },
    {
      "page": "var.jack",
      "title": "Jackknife Variance Estimates of Regression Coefficients",
      "topics": [
        "var.jack"
      ]
    },
    {
      "page": "vcov.mvr",
      "title": "Calculate Variance-Covariance Matrix for a Fitted Model Object",
      "topics": [
        "vcov.mvr"
      ]
    },
    {
      "page": "widekernelpls.fit",
      "title": "Wide Kernel PLS (Rännar et al.)",
      "topics": [
        "widekernelpls.fit"
      ]
    },
    {
      "page": "yarn",
      "title": "NIR spectra and density measurements of PET yarns",
      "topics": [
        "yarn"
      ]
    }
  ],
  "_readme": "https://github.com/khliland/pls/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "pls-manual.Rmd",
      "filename": "pls-manual.html",
      "title": "Introduction to the pls Package",
      "author": "Bjørn-Helge Mevik, Ron Wehrens, Kristian Hovde Liland",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Abstract",
        "1 Introduction",
        "2 Theory",
        "2.1 Algorithms",
        "2.2 On the use of PLSR and PCR",
        "3 Example session",
        "4 Formulas and data frames",
        "4.1 Formulas",
        "4.2 Data frames",
        "5 Fitting models",
        "6 Choosing the number of components with cross-validation",
        "7 Inspecting fitted models",
        "7.1 Plotting",
        "7.2 Extraction",
        "7.3 Summaries",
        "8 Predicting new observations",
        "9 Further topics",
        "9.1 Selecting fit algorithms",
        "9.1.1 Additional responses and focused loadings",
        "9.1.2 Missing data handling",
        "9.2 Parallel cross-validation",
        "9.3 Package design",
        "9.4 Calling fit functions directly",
        "9.5 Formula handling in more detail",
        "References"
      ],
      "created": "2026-02-20 20:28:16",
      "modified": "2026-02-20 20:28:16",
      "commits": 1
    }
  ],
  "_score": 13.837897353712581,
  "_indexed": true,
  "_nocasepkg": "pls",
  "_universes": [
    "khliland"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.9-0",
      "date": "2026-05-21T08:43:17.000Z",
      "distro": "noble",
      "commit": "7a7e9cf35c29da301005d5921134e99a3ced9a61",
      "fileid": "eaff37a16ca0fa6ae076fb61057acbafdb12ca6b07c1868e18364a253d81796b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/khliland/actions/runs/26215172536"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.9-0",
      "date": "2026-05-21T08:43:24.000Z",
      "distro": "noble",
      "commit": "7a7e9cf35c29da301005d5921134e99a3ced9a61",
      "fileid": "2f26bd223e1eccdc41d40853ebaaabcce3af1e24d7a8e03735cbe13a95c64e9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/khliland/actions/runs/26215172536"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.9-0",
      "date": "2026-05-21T08:43:11.000Z",
      "commit": "7a7e9cf35c29da301005d5921134e99a3ced9a61",
      "fileid": "08142463eb37593fdb4a429810b96b92e1ea24b347a09b86237214fc6dc417d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/khliland/actions/runs/26215172536"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.9-0",
      "date": "2026-05-21T08:43:14.000Z",
      "commit": "7a7e9cf35c29da301005d5921134e99a3ced9a61",
      "fileid": "897381a5f55168d9ed07b349bbba0992216777c58c290c21658ba444b7991797",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/khliland/actions/runs/26215172536"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.9-0",
      "date": "2026-05-21T20:27:31.000Z",
      "commit": "7a7e9cf35c29da301005d5921134e99a3ced9a61",
      "fileid": "691ab5cb297dc0489cd5ae08900bd36f03be973983615a7e2bf019e4f2d51312",
      "status": "success",
      "buildurl": "https://github.com/r-universe/khliland/actions/runs/26215172536"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.9-0",
      "date": "2026-05-21T08:42:35.000Z",
      "commit": "7a7e9cf35c29da301005d5921134e99a3ced9a61",
      "fileid": "3c1e9412cb6d99e732ae900c09b833fe1e20384471ca39929fa2e372327105eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/khliland/actions/runs/26215172536"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.9-0",
      "date": "2026-05-21T08:42:26.000Z",
      "commit": "7a7e9cf35c29da301005d5921134e99a3ced9a61",
      "fileid": "14e9c4fed1eb4e731a76bd29b980b36b1c1428dc6b497bcce320139585516520",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/khliland/actions/runs/26215172536"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.9-0",
      "date": "2026-05-21T08:42:26.000Z",
      "commit": "7a7e9cf35c29da301005d5921134e99a3ced9a61",
      "fileid": "07bdd0d11101a71fbeb8b981a3f1186191e3ff05514af0767ce5e2ed35b58bfd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/khliland/actions/runs/26215172536"
    }
  ]
}