pca_dstat_plot {structToolbox} | R Documentation

## d-statistic plot

### Description

A bar chart of the d-statistics for samples in the input PCA model. Samples above the indicated threshold are considered to be outlying.

### Usage

    pca_dstat_plot(number_components = 2, alpha = 0.05, ...)

### Arguments

`number_components` | (numeric) The number of principal components to use. The default is `2`.
`alpha` | (numeric) A confidence threshold for rejecting samples based on the d-statistic. The default is `0.05`.
`...` | Additional slots and values passed to `struct_class`.

### Value

A `pca_dstat_plot` object. This object has no `output` slots. See `chart_plot` in the `struct` package to plot this chart object.

### Examples

    C = pca_dstat_plot()

[Package structToolbox version 1.6.1 Index]