Giter Site home page Giter Site logo

cran / cpca Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 144 KB

:exclamation: This is a read-only mirror of the CRAN R package repository. cpca — Methods to perform Common Principal Component Analysis (CPCA). Homepage: https://github.com/variani/cpca

R 100.00%

cpca's Introduction

cpca

cpca is an R package with methods to perform Common Principal Component Analysis (CPCA).

The main function to perform CPCA is called cpc. See ?cpc for the help.

For now, the cpc function implements only one method based on Trendafilov, 2010. This method estimates the Common Principal Components (CPCs) by a stepwise procedure based on the well-known power method for a single covariance/correlation matrix. The feature of this method is that it orders the CPCs by the explained variance (intrincically), and the user can estimate the few first components, e.g. 2-3, rather than all the components. It is beneficial in practice when a data set has many variables.

Demo

The iris demo shows an application of the cpc function to Fisher's iris data.

library(cpca)
demo(iris, package = "cpca")

demo.html stored in the inst/doc directory presents both the code and the resulted output of the demo.

Note that the eigenvectors obtained by the cpc function are exactly the same as reported in Trendafilov, 2010, Section 5, Example 2. That means that Trendafilov's method (which is default in the cpc function) is implemnted accurately (at least for iris data).

Installation

The following commands install the development (master branch) version from Github.

library(devtools)
install_github("cpca", user = "variani")

Citation

Currently, we don't have a specific publication for the cpca package. Please see the current citation information by the following command in R.

library(cpca)
citation(package = "cpca")

The citation information is stored in the CITATION file in the inst directory and can be updated in the future.

  • CITATION - cpca package citation information

References

List of publications, where the cpca package was used:

  • Kanaan-Izquierdo, S., Ziyatdinov, A., Massanet, R., & Perera, A. (2012). Multiview approach to spectral clustering. In 2012 Annual International Conference of the IEEE Engineering in Medicine and Biology Society (pp. 1254–1257). IEEE. doi:10.1109/EMBC.2012.6346165
  • Fernandez-Albert, F. et al. (to be appeared). A Common Variance Compensation method for intensity drift removal in LC / MS metabolomics.

Mathematical algorithms implemented in the cpca package:

  • Trendafilov, N. T. (2010). Stepwise estimation of common principal components. Computational Statistics & Data Analysis, 54(12), 3446–3457. doi:10.1016/j.csda.2010.03.010

License

The cpca package is licensed under the GPLv3. See COPYING file in the inst directory for additional details.

  • COPYING - cpca package license (GPLv3)

cpca's People

Watchers

 avatar  avatar

Forkers

ecool50

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.