#| include: false
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

plsmod

R-CMD-check Lifecycle: experimental CRAN status Codecov test coverage R-CMD-check

This package is a helper package for parsnip that enables linear projection models (such as partial least squares, PLS) in the tidymodels infrastructure.

Installation

You can install the released version of plsmod from CRAN with:

install.packages("plsmod")

And the development version from GitHub with:

# install.packages("pak")
pak::pak("tidymodels/plsmod")

Available Engines

The plsmod package provides engines for the models in the following table.

#| echo: false
#| message: false
library(parsnip)
library(dplyr)

parsnip_models <- 
  get_from_env("models") |>
  purrr::map_dfr(\(.x) get_from_env(.x) |> mutate(model = .x)) |> 
  filter(model == "pls") |>
  knitr::kable()

Contributing

This project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.



topepo/projections documentation built on June 11, 2025, 6:44 a.m.