writeJSON.pls: Saves PLS model as JSON file compatible with web-application...

View source: R/pls.R

writeJSON.plsR Documentation

Saves PLS model as JSON file compatible with web-application (https://mda.tools/pls).

Description

You can load created JSON file to web-app and use it for prediction.

Usage

## S3 method for class 'pls'
writeJSON(obj, fileName)

Arguments

obj

Object with PLS model (from pca).

fileName

Name or full path to JSON file to be created.


mdatools documentation built on March 6, 2026, 5:08 p.m.