search for: cancor

Displaying 20 results from an estimated 39 matches for "cancor".

Did you mean: cancer
2004 Sep 11
4
Cancor
Dear R's! I am strugling with cancor procedure in R. I cannot figure out the meaning of xcoef and of yxcoef. Are these: 1. standardized coefficients 2. structural coefficients 3. something else? I have tried to simulate canonical correlation analysis by checking the eigenstructure of the expression: Sigma_xx %*% Sigma_xy %*% Sigma_y...
2004 Nov 30
1
about cancor.R
Hello, I'm a beginning user of R, now I have a question about canonical correlation analysis (cca). In R,there is a function "cancor.R" used for cca; For example X(n*p1) and Y(n*p2)are the two matrix to be analyzed. In the example given by R, when n> max(p1,n2), cancor(X,Y) works; but when n<p1 or n<p2, cancor(X,Y) doesn't work well because cancor$cor == 1; how to cope with this case? maybe before apply the two...
2013 Jan 29
3
how to suppress the intercept in an lm()-like formula method?
I'm trying to write a formula method for canonical correlation analysis, that could be called similarly to lm() for a multivariate response: cancor(cbind(y1,y2,y3) ~ x1+x2+x3+x4, data=, ...) or perhaps more naturally, cancor(cbind(y1,y2,y3) ~ cbind(x1,x2,x3,x4), data=, ...) I've adapted the code from lm() to my case, but in this situation, it doesn't make sense to include an intercept, since X & Y are mean centered by default in...
2002 Dec 04
1
Interpreting canonical correlation (cancor) results
Hi, from what I understand about the canonical correlation function 'cancor', it looks for correlations in two sets of variables, each represented in matrix form. Right? Sounds exactly like what I need. I have tried the following but I am not sure how to interpret the results. AudioPCs <- c(ArTHarF0PCA$x[,2], ArTHarF1PCA$x[,2], ArTHarF2PCA$x[,2], ArTHarF3PCA$x[,...
1999 Feb 09
1
bug on cancor (PR#116)
When I use the function cancor of mva package, I found that it doesn't work when one of the matrix has only one column, or both have only one column. The function in Splus 5 with the same name works under those situations. The version of R I am using is 0.63.2 (released on Jan., 1999) on Solaris. Kenny Ye Assistant Profess...
2001 Jun 11
1
Additional output in cancor
Hi everyone, Can I suggest an additional output component in cancor, from package mva? It would be useful to have the number of canonical correlation vectors, equivalently the rank of the covariance between x and y (label "rank"). This would usually be min(dx, dy), where dx and dy have already been computed for the svd function, but there might be situa...
2006 Dec 28
0
MANOVA-CANCOR with class variable?
Dear list, I'm trying to compare two sets of variables using canonical analysis. My X variables include 3 climate indices, all continuous. My Y variables describe a set of 3 environmental moisture measurements. However, I would also like to include a class variable for habitat type. My colleaugue was able to do this in SAS, but we could not find a way to do it in R. Is anyone familiar
1999 Oct 07
1
[Fwd: Libraries loading, but not really?] - it really IS a problem :-(
kalish at psy.uwa.edu.au wrote: > > I'm a newbie at R, and can't get libraries to really work. > I did this: > > library(help = mva) > cancor Canonical Correlations > cmdscale Classical (Metric) Multidimensional Scaling > dist Distance Matrix Computation > hclust Hierarchical Clustering > kmeans K-Means Clustering > prcomp...
2005 Apr 01
2
Error in colMeans ... what's wrong with my data?
Having searched and searched I still haven't found what's the problem with my data (I've attached the relevant file). Every time I tried to use the CANCOR-Function I got error messages. So I turned to check my two sets of variables separately by using the "colMeans"-Function. With one set no problem .. but with the other. My input : > struktur <- read.delim("struktur.csv", header=TRUE, sep = ";") >colMeans(str...
2003 Mar 27
5
Plot of Canonical Correlation Analysis
Dear all, I didn't find any graphical solution in the package "mva" to plot the canonical scores from a CCA (canonical correlation analysis). Does anybody knows how to plot or has anybody already programmed : - the map of the canonical scores, - the graph of the canonical weights, - the correlation circle i.e. the canonical loadings ? Thank you for help ...
2012 May 06
3
correlation between XY coordinates
Hello r world, Does anyone know a function or package that can compute correlations between sets of XY coordinates? Thanks in advance for your help, Chris
2005 Apr 15
0
code for index of canor analysis
...se for improve it or check if i make any mistake . i appriciate your suggestion . i have check the result roughly to the SPSS's. though i do not know excatly how SPSS calculate the redundancy index,but my result is similar to the SPSS's. thank you. -------------------------------------- cancor.index<-function(object,x,y,center=T,scale=F){ x<-scale(x,center=center,scale=scale) y<-scale(y,center=center,scale=scale) ncor<-length(object$cor) #number of canonical variables nx<-dim(object$xco)[1] #number of X ny<-dim(object$yco)[1] #number of Y xscore<-x%*%(object$xcoe[,1:...
2000 Aug 22
2
various ordinations
Colleagues, I'm developing a library of functions for community ecology analyses and have a couple of questions that I've not been able to answer via faqs or docs. 1) Are there existing functions for: a) Bray-Curtis (polar) ordination? b) non-metric multidimensional scaling (NMDS)? c) canonical correlation analyses (CCA and DCA)? d) TWINSPAN (doubtful...)? 2) If not,
2009 Jun 26
1
problems compiling for RHEL 5.3 x86_64
...o compile R against blas - ACML-variety or otherwise. Moreover, putting in --with-lapack explicitly causes all sorts of errors - the main one being 'hinted at' in the R admin docs. The error is Error in La.svd(x, nu, nv) : BLAS/LAPACK routine 'DGESDD' gave error code -12 Calls: cancor -> svd -> La.svd -> .Call Execution halted So, from the admin guide, I find the following Since ACML contains a full LAPACK, if selected as the BLAS it can be used as the LAPACK /via/ --with-lapack. If you do use --with-lapack, be aware of potential problems with bugs in the LAPACK 3.0...
1999 Oct 07
0
Libraries loading, but not really?
I'm a newbie at R, and can't get libraries to really work. I did this: > library(help = mva) cancor Canonical Correlations cmdscale Classical (Metric) Multidimensional Scaling dist Distance Matrix Computation hclust Hierarchical Clustering kmeans K-Means Clustering prcomp Principal Componen...
2006 Sep 21
0
Covariance matrix for first canonical variate
Does anyone know how to get a meaningful estimate of the covariance matrix for the first canonical variate coefficients for the right-hand (X) side of a canonical regression? cancor returns coefficients but not precisions. This would have to be subject to some constraint because of identifiability problems (arbitrary scaling). I think that SPSS attempts to do this but seems to condition on the Y-coefficients which ignores a major source of uncertainty. Thanks Frank --...
1997 Aug 21
0
R-alpha: Mutivariate Analysis
...r code which already exists at > StatLib. Here is my present list (only some of which is finished). > 1. Principal Components > prcomp > 2. Clustering > dist, hclust, plclust, subtree, cutree > kmeans > 3. Canonical correlations (is this ever used?) > cancor > 4. Scaling > cmdscal, sammon, isoscal > 5. Graphics > (Optimal) profile plots > biplots > stars etc > A bunch of Michael Friendly's stuff converted from SAS > 6. Discriminant analysis > discr (a real one which takes prior probs and retu...
2009 Jun 26
0
2.9.0 and make check errors | mystery deepens
...errors. Make, same thing. Make check - same problem with stats. But, this time a .fail file got created in tests/Example. Bottom of the file has something which might resonate with someone out there: Error in La.svd(x, nu, nv) : BLAS/LAPACK routine 'DGESDD' gave error code -12 Calls: cancor -> svd -> La.svd -> .Call Execution halted So, from the admin guide, I find the following Since ACML contains a full LAPACK, if selected as the BLAS it can be used as the LAPACK /via/ --with-lapack. If you do use --with-lapack, be aware of potential problems with bugs in the LAPACK 3.0...
2002 Nov 05
2
Canonical variates
Hi, Does anybody know some package or function that computes canonical variates? Luis & Janete -------------------------------------------- sapo.pt/kitadsl -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the
2006 Jan 18
1
Canonical Variance Analysis by any other name?
I've been asked about "Canonical Variance Analysis" (CVA). I don't see any reference to it searching the R site. Does it go by other names? Genstat describes it thus: Canonical variates analysis operates on a within-group sums of squares and products matrix, calculated from a set of variates and factor that specifies the grouping of units. It finds linear combinations of the