get_loadings: Get axis loadings from models created by 'ropls::opls()'

View source: R/ropls_helpers.R

get_loadingsR Documentation

Get axis loadings from models created by ropls::opls()

Description

Provides a wrapper for getLoadingMN from the ropls package that returns a tibble rather than a matrix

Usage

get_loadings(.model)

Arguments

.model

a pls object created by opls

Value

a tibble

Examples

## Not run: 
pls.model <- opls(X, Y)
get_loadings(pls.model)

## End(Not run)

Aariq/chemhelper documentation built on Feb. 24, 2023, 8:16 p.m.