pls_regcoeff_plot | R Documentation |
Plots the regression coefficients of a PLSDA model.
Plots the regression coefficient scores of a PLSDA model
pls_regcoeff_plot(ycol = 1, ...)
ycol |
(character, numeric, integer) The Y column to plot. The default is |
... |
additional slots and values passed to struct_class |
This object makes use of functionality from the following packages:
pls
ggplot2
A
pls_regcoeff_plot
object. This object has no output
slots.
See chart_plot
in the struct
package to plot this chart object.
struct object
A pls_regcoeff_plot
object inherits the following struct
classes:
[pls_regcoeff_plot]
>> [chart]
>> [struct_class]
Liland K, Mevik B, Wehrens R (2023). pls: Partial Least Squares and Principal Component Regression. R package version 2.8-3, https://CRAN.R-project.org/package=pls.
Wickham H (2016). ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag New York. ISBN 978-3-319-24277-4, https://ggplot2.tidyverse.org.
M = pls_regcoeff_plot(
ycol = 1)
D = iris_DatasetExperiment()
M = mean_centre()+PLSDA(factor_name='Species')
M = model_apply(M,D)
C = pls_regcoeff_plot(ycol='setosa')
chart_plot(C,M[2])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.