Learn R Programming

dual.spls

The goal of dual.spls is to ...

Installation

You can install the released version of dual.spls from CRAN with:

install.packages("dual.spls")

Example

This is a basic example which shows you how to solve a common problem:

library(dual.spls)
## basic example code

Copy Link

Version

Install

install.packages('dual.spls')

Monthly Downloads

24

Version

0.1.4

License

MIT + file LICENSE

Maintainer

Louna Alsouki

Last Published

April 18th, 2023

Functions in dual.spls (0.1.4)

d.spls.LS

Dual Sparse Partial Least Squares (Dual-SPLS) regression for the least squares norm
d.spls.GLA

Dual Sparse Partial Least Squares (Dual-SPLS) regression for the group lasso norm A
d.spls.GL

Dual Sparse Partial Least Squares (Dual-SPLS) regression for the group lasso norms
d.spls.GLB

Dual Sparse Partial Least Squares (Dual-SPLS) regression for the group lasso norm B
d.spls.errorcv

Computes the error of a cross validation iteration
d.spls.lasso

Dual Sparse Partial Least Squares (Dual-SPLS) regression for the lasso norm
d.spls.norm1

Computing the l1 and l2 norm
d.spls.calval

Splits data into calibration and validation sets using the splitting method CalValXy that takes into account X and y
d.spls.cv

Determination of the number of latent components to be used in a Dual-SPLS regression
d.spls.simulate

Simulation of a data
d.spls.split

Splits data into calibration and validation sets according to wich group belongs each observation
d.spls.plot

Plots the coefficient curve of a Dual-SPLS regression
d.spls.NIR

Dual Sparse Partial Least Squares (Dual-SPLS) Near Infrared data
d.spls.type

Splitting the observations into groups
d.spls.GLC

Dual Sparse Partial Least Squares (Dual-SPLS) regression for the group lasso norm C
d.spls.print

Print function for Dual-SPLS models
dual.spls-package

dual.spls package
d.spls.listecal

Determine the number of observations to select from each cell
d.spls.ridge

Dual Sparse Partial Least Squares (Dual-SPLS) regression for the ridge norm
d.spls.metric

Computes predictions criterias
d.spls.pls

Univariate Partial Least Squares regression
d.spls.predict

Makes predictions from a fitted Dual-SPLS model