Learn R Programming

dbcsp (version 0.0.2.2)

Distance-Based Common Spatial Patterns

Description

A way to apply Distance-Based Common Spatial Patterns (DB-CSP) techniques in different fields, both classical Common Spatial Patterns (CSP) as well as DB-CSP. The method is composed of two phases: applying the DB-CSP algorithm and performing a classification. The main idea behind the CSP is to use a linear transform to project data into low-dimensional subspace with a projection matrix, in such a way that each row consists of weights for signals. This transformation maximizes the variance of two-class signal matrices.The dbcsp object is created to compute the projection vectors. For exploratory and descriptive purpose, plot and boxplot functions can be used. Functions train, predict and selectQ are implemented for the classification step.

Copy Link

Version

Install

install.packages('dbcsp')

Monthly Downloads

337

Version

0.0.2.2

License

GPL (>= 2)

Maintainer

Itsaso Rodr<c3><ad>guez-Moreno

Last Published

September 2nd, 2025

Functions in dbcsp (0.0.2.2)

dbcsp-class

S4 class for representing DB-CSP (Distance-Based Common Spatial Patterns)
summary.dbcsp

Summary function implemented by dbcsp class
AR.data

Skeleton data for 6 different actions.
print.dbcsp

Print function implemented by dbcsp class
plot.dbcsp

Plot function implemented by dbcsp class
selectQ

Select Q best dimension
predict.dbcsp

Predict function implemented by dbcsp class
boxplot.dbcsp

Boxplot for dbcsp object
train.dbcsp

Training process of a dbcsp object, using LDA classifier.
dbcsp-package

Distance-Based Common Spatial Patterns