plsda_scores_plot {structToolbox} | R Documentation

## plsda_scores_plot class

### Description

2d scatter plot of plsda component scores.

### Usage

    plsda_scores_plot(
      components = c(1, 2),
      points_to_label = "none",
      factor_name,
      ...
    )

### Arguments

`components` | The PLS components to plot (`numeric(2)`)
`points_to_label` | "none", "all", or "outliers" will be labelled on the plot.
`factor_name` | The sample_meta column name for labelling the legend
`...` | 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_scores_plot(factor_name='Species')
    chart_plot(C,M[2])

[Package structToolbox version 1.0.1 Index]