Learn R Programming

RSDA (version 3.2.1)

sym.histogram.pca: sym.histogram.pca

Description

sym.histogram.pca

Usage

sym.histogram.pca(sym.hist.matrix, BIN.Matrix, method = NULL)

Value

Histogram PCA

Arguments

sym.hist.matrix

A Histogram matrix

BIN.Matrix

A matrix with the number of bins for each individual and variable

method

Weigthed Method

Author

Jorge Arce Garro

Examples

Run this code
if (FALSE) {
data("hardwoodBrito")
Hardwood.histogram<-hardwoodBrito
weighted.center<-weighted.center.Hist.RSDA(Hardwood.histogram)
 M<-length(Hardwood.cols)
 N<-length(Hardwood.names)
 BIN.Matrix<-matrix(rep(3,N*M),nrow = N)
pca.hist<-sym.histogram.pca(Hardwood.histogram,BIN.Matrix)
pca.hist
}

Run the code above in your browser using DataLab