writeJSON.pca: Saves PCA model as JSON file compatible with web-application...

View source: R/pca.R

writeJSON.pcaR Documentation

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

Description

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

Usage

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

Arguments

obj

Object with PCA 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.