plsda_predicted_plot {structToolbox} | R Documentation

## plsda_predicted_plot class

### Description

A box plot of the predicted values from a PLSDA model for each class. Only usitable for two class models.

### Usage

    plsda_predicted_plot(factor_name, style = "boxplot", ...)

### Arguments

`factor_name` | The sample_meta column name to use
`style` | The plot style. One of 'boxplot', 'violin' or 'density'.
`...` | additional slots and values passed to struct_class

### Value

struct object

### Examples

    D = iris_DatasetExperiment()
    M = mean_centre()+PLSDA(factor_name='Species')
    M = model_apply(M,D)

    C = plsda_predicted_plot(factor_name='Species')
    chart_plot(C,M[2])

[Package structToolbox version 0.99.8 Index]