Displaying 3 results from an estimated 3 matches for "composantes".
2000 Oct 03
3
prcomp compared to SPAD
Hi !
I've used the example given in the documentation for the prcomp function
both in R and SPAD to compare the results obtained.
Surprisingly, I do not obtain the same results for the coordinates of
the principal composantes with these two softwares.
using USArrests data I obtain with R :
> summary(prcomp(USArrests))
Importance of components:
PC1 PC2 PC3 PC4
Standard deviation 83.732 14.2124 6.4894 2.48279
Proportion of Variance 0.966 0.0278 0.0058 0.00085
Cumulative Pr...
2001 Nov 05
1
Problem to transfer Splus functions
...######################################################
acp <- function(x, wt = rep(1/nrow(x), nrow(x)), d = rep(1, ncol(x)),
ctr = T,
reduc = T, contav = F, method = "acp", tol = 10^(-8))
{
#============================================================
# Methode d'analyse en composantes principales
# avec des metriques diagonales:
# wt vecteur des poids
# d vecteurs des elements diagonaux de la metrique
# si ctr=T l'acp est centree
# si reduc=T l'acp est reduite
# Method = "acp" or "afc" or "afcm"
#...
2020 Oct 09
1
Aide pour finaliser ce code
Hello.
Here is my R code. I used the functional data . Now I need to use the
functional data by applying the kernels instead of the xi, yi functions.
Bonjour.
Voici mon code en R . J'ai utiliser les donn?es fonctionnelles . Maintenant
j'ai besoin d'utiliser les donn?es fonctionnelles en appliquant les noyaux
? la place des fontions xi, yi
library(MASS)