| prep.norm.asjson | R Documentation |
Converts preprocessing item from 'prep.norm' method to JSON elements
prep.norm.asjson(params, npred, left = 0, right = 1)
params |
model parameters precomputed by using prep.fit() |
npred |
number of predictors in original dataset |
left |
index of first variable after trimming (if any) |
right |
index of last variable after trimming (if any) |
list with main elements required for JSON with preprocessing model compatible with preprocessing web-application (ml, mpl, mp, mpl_new, mp_new, info)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.