get_plsr1: PLS regression for 'plspm'

View source: R/get_plsr1.r

get_plsr1R Documentation

PLS regression for plspm

Description

Internal function not to be called by the user

Usage

  get_plsr1(predictors, response, nc = NULL, scaled = TRUE)

Arguments

predictors

matrix of predictors

response

response variable

nc

number of components

scaled

logical indicating whether to scale the data

Details

Internal function. get_plsr1 performs PLS-R1.

Value

A list with pls regression results

Warning

Do NOT use this function unless you are ME, a package developer, or a jedi user who really knows what is doing (seriously!)


gastonstat/plspm documentation built on April 8, 2022, 5:59 a.m.