Description Usage Arguments Details Value See Also Examples

This function plots the variance of the selected vectors in a boxplot.

1 2 |

`x` |
object of class |

`vectors` |
integer or array of integers, indicating the index of the projected vectors to plot, by default |

`pairs` |
logical, if TRUE the pairs of the indicated vectors are also shown, by default |

`ordered_pairs` |
logical, if TRUE the pairs are plotted next to each other, else pairs are plotted at the end, by default |

`show_log` |
logical, if TRUE the logarithms of the variances are displayed, else the variances are displayed, by default |

`...` |
optional arguments inherited from the generic |

A boxplot with the variances of the selected vectors.
Vectors values must lie between 1 and 2*q, being q the number of dimensions used to perform the DB-CSP
algorithm when creating the `dbcsp`

object. The following should be
taken into account when plotting:

The first q values (1,...,q) are indicated as a1...aq

The last q values (q+1,...,2*q) are indicated as b1...bq.

If `pairs=TRUE`

, it is recommended that `vectors<q`

for better understanding,
since their pairs are plotted as well. In case that `vectors>q`

, it should be noted
that the values are displayed from b1 to bq, where b1 and bq represent q+1 vector and 2*q vector,
respectively.

For example if `q=15`

and `boxplot(object, vectors=16, pairs=FALSE)`

, b1 (16-q=1) vector is
shown.

Displays the boxplot of the variances of the selected vectors.

`dbcsp`

, `print`

, `summary`

, `train`

, `selectQ`

, `predict`

, `plot`

1 2 3 4 5 6 7 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.