Re: [R] Iterative Proportional Fitting, use

2009-03-23 Thread Koen Hufkens
stion but I hope I can get around this without recoding the original data. Kind regards, Koen -Original Message- From: Gerard M. Keogh To: Koen Hufkens Cc: r-help , r-help-boun...@r-project.org Subject: Re: [R] Iterative Proportional Fitting, use Date: Mon, 23 Mar 2009 13:11:15 +

[R] Iterative Proportional Fitting, use

2009-03-23 Thread Koen Hufkens
Hi list, I would like to normalize a matrix (two actually for comparison) using iterative proportional fitting. Using ipf() would be the easiest way to do this, however I can't get my head around the use of the function. More specifically, the margins settings... for a matrix: mat <- matrix(c(6

[R] Comparing two matrices

2009-03-03 Thread Koen Hufkens
Hi List, I would like to compare two (confusion) matrices. I ended up with the ade4 mantel.rtest function as my best option. However it seems that my data is non-euclidean in nature (is.euclid gives a FALSE). I attached both matrices at the end of the document. Are there any tools to tran

[R] rimage

2009-02-16 Thread Koen Hufkens
Hi list, I'm trying to install/compile rimage on ubuntu linux (i386) interpid. However, the compilation hangs on: gcc -std=gnu99 -I/usr/share/R/include -g -O2 -fpic -g -O2 -c laplacian.c -o laplacian.o laplacian.c: In function ‘laplacian’: laplacian.c:14: warning: implicit declaration of f