Some data sets and R-functions for PCA and CA to accompany Abdi & Beaton (2019) Principal Component and Correspondence Analysis with R

addArrows | Add arrows to a factorial map (best with a circle of... |

addCircleOfCor | Add a Circle of Correlation to a PCA-like map of correlation... |

addLines4MCA | ('ggplot2') add lines to the levels of the qualitative... |

alcoholInEurope | The average consumption of 4 types of alcoholic beverages in... |

BinQuant | Recode a quantitative variable as a binned factor. |

Boot4PLSC | Bootstrap for PLSC. |

BootCCA | Bootstrap for Canonical Correlation Analysis (CCA). |

boot.eigen | generate a bootstrap distribution of eigenvalues for a given... |

BR4varMCA | Computes pseudo Bootstrap ratios from pseudo-F for variables... |

buildRandomImage4PCA | Make a random image (with similar PCA loadings) of a matrix... |

coloringLabels | create a vector of color names for the levels of an MCA from... |

colorOfMusic | 12 Children and 10 Adults picked up the color that best... |

colorsOfVowels | 133 (French) participants associated 6 colors to 6 vowels... |

compS | Compute an SCP matrix with several possible combinations of... |

corePCA2 | corePCA2, authored by Derek Beaton. Cf. package GSVD on... |

ctr4Variables | Compute contributions (or squared cosines) for (qualitatitve)... |

data4PCCAR | A collection of data sets and R-functions to illustrate and... |

deadInTheUSA | The causes of death as a function of age in the USA in 2001. |

dimensionsOfDepression | The similarity of 15 psychometric instruments measuring... |

epGPCA2 | epGPCA2, authored by Derek Beaton. Cf. package GSVD on... |

epOutputHandler | epOutputHandler, authored by Derek Beaton. Cf. package GSVD... |

epVari | Varimax rotation on loadings and factor scores. |

firstpos | ensures that the first element of all the columns of one/two... |

fiveBeersHedonics | Five tasters evaluated how much they liked (using a 10 point... |

foodInFrance | How much typical French families spent on different types of... |

foodOfTheWorld | 26 world cuisines are described by their cooking ingredients. |

genPDQ2 | genPDQ2, authored by Derek Beaton. Cf. package GSVD on... |

getImportantCtr | Get the items with important contributions for a factorial... |

getRandomFS | generate multivariate random observations (i.e., factor... |

getVarNames | Get the names of variables from the levels of the columns in... |

graduatingInUSA | Number of University Graduates in the USA from 1966 to 2001. |

grapes-pow-grapes | power, authored by Derek Beaton. Cf. package GSVD on GitHub,... |

gsvd | GSVD, authored by Derek Beaton. Cf. package GSVD on GitHub,... |

is.diagMat | Test if an object is a diagonal matrix |

is.diagonal.matrix | is.diagonal.matrix, authored by Derek Beaton. Cf. package... |

isDiagonal.matrix | sqrt.mat, authored by Derek Beaton. Cf. ExPosition CRAN |

is.empty.matrix | is.empty.matrix, authored by Derek Beaton. Cf. package GSVD... |

is.identical.matrix | is.identical.matrix, authored by Derek Beaton. Cf. package... |

is.identity.matrix | is.identity.matrix, authored by Derek Beaton. Cf. package... |

matrix.exponent | matrix.exponent, authored by Derek Beaton. Cf. package GSVD... |

mentalImageryOSIQ | (simulated) results of 2,100 participants answering a Likert... |

monteCarlo.eigen | Monte Carlo generation of (random) eigenvalues to match a... |

nameExpositionResults | add dimension names to the results from 'ExPosition' or... |

perm4CCA | Permutation for canonical correlation analysis (CCA); as... |

perm4PLSC | Permutation for PLSC (as implemented in... |

phi2CT | A fast function to compute the phi2 for a Contingency table. |

phi2Mat4BurtTable | Compute the phi2 (correlation) matrix for data tables... |

print.alcoholInEU | Change the print function for the data set: 'alcoholInEU' #'... |

print.bootBrick.ij4plsc | Change the print function for class bootBrick.ij4plsc |

print.bootBrick.ij.eig4plsc | Change the print function for class bootBrick.ij.eig4plsc |

print.bootEigen | Change the print function for the class 'bootEigen'. |

print.colorsOfVowels | Change the print function for the data set: 'colorsOfVowels' |

print.ctr12 | Change the print function for objects of class 'ctr12' |

print.deadUSA | Change the print function for the data set: 'deadUSA' |

print.dimDepression | Change the print function for the data set: 'dimDepression'... |

print.epVari | Change the print function for createFactorMap |

print.fiveBeersRank | Change the print function for the data set: 'fiveBeersRank'... |

print.foodInFrance | Change the print function for the data set: 'foodInFrance' #'... |

print.foodOfTheWorld | Change the print function for the data set: 'foodOfTheWorld' |

print.graduatingUSA | Change the print function for the data set: 'graduatingUSA'... |

print.OSIQ | Change the print function for the data set: 'OSIQ' #' Change... |

print.perm4PLSC | Change the print function for 'perm4PLSC' class |

print.randEigen | Change the print function for the class 'randEigen'. |

print.sixAuthors | Change the print function for the data set: 'sixAuthors' #'... |

print.sixFaces | Change the print function for the data set: 'sixFaces' |

print.str_colorsOfMusic | Change the print function for the data set:... |

print.twentyWines | Change the print function for the data set: 'twentyWines' #'... |

print.wines3Colors | Change the print function for the data set: 'wines3Colors' #'... |

recode2Integer | Recode a vector of real values to integers matching a given... |

scale0 | center and normalize a vector to 1 or to (N - 1) |

sixAuthorsPunctuated | The punctuation used by six classical French Writers |

sixFaces | The pictures of six faces (3 men and 3 women). To be used to... |

sqrt.mat | sqrt.mat, authored by Derek Beaton. Cf. ExPosition CRAN |

sv2 | Compute the squared singular values of a matrix. |

tepCCA | A 'TExPosition'-type version of Canonical Correlation... |

theme_ptca2 | A 'ggplot2' theme that matches the defaults of the factorial... |

tolerance.svd | tolerance.svd, authored by Derek Beaton. Cf. package GSVD on... |

twentyWines | 20 red wines (10 French, 10 American) are rated by an expert... |

winesOf3Colors | 36 wines are evaluated on several dimensions orgainzed in 3... |

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.