Jordi:
If I understand you well, the function below may do what you asked for.
It is not clear to me from your posting wether e.g.
1 2 4 3 5 6 7 8 910 11 12
and
1 4 2 3 5 6 7 8 910 11 12
should count as differente permutations, i.e., wether once one pair of
elements interchange
Not sure if it will work straight with .mid or .mif files, but it works
for me on .tab files, which were
supposed to be read with the Excel map tool package and beleive confro
to the MapInfo format.
I asked Roger Bivand at the recent useR!2004 meeting and he made several
suggestions. Following
Apologies, disregard my former message! I overlloked the requirement
that only combinations
present in the data must be taken. ft.
--
Fernando TUSELLe-mail:
Departamento de EconometrÃa y EstadÃstica [EMAIL PROTECTED]
Facultad de CC.EE. y Empresariales
Hi, Ted:
Probably not the most elegant way, but not too tedious either.
>a <- as.factor(c("A0","A1","A2"))
>b <- as.factor(c("B0","B1","B2"))
> as.vector(outer(a,b,FUN=paste,sep=""))
[1] "A0B0" "A1B0" "A2B0" "A0B1" "A1B1" "A2B1" "A0B2" "A1B2" "A2B2"
Best, ft.
--
Fernando TUSELL
I am trying to compile R on an Itanium machine running Red Hat 7.2 and
gcc version 2.96.
The build fails with the following symptoms:
g77 -fPIC -g -O2 -c cmplx.f -o cmplx.lo
g77 -fPIC -g -O2 -c cmplxblas.f -o cmplxblas.lo
gcc -shared -L/usr/local/lib -o libRlapack.so dlapack0.lo dlapack1.lo
As of quite recently I experience failures to compile source packages.
Messages like
* Installing *source* package 'dse1' ...
** libs
g77 -mieee-fp -fPIC -g -O2 -c dsefor.f -o dsefor.o
gcc -shared -o dse1.so dsefor.o -L/usr/lib/gcc-lib/i486-linux/3.3.3
-L/usr/lib/gcc-lib/i486-linux/3.3.3/..
I have been handed a CD ROM with statistical data readable with a
program named PC-Axis. There
is the possibility of creating custom maps to display the data.
Aparently, this is handled by a program
named PX-Map. Looking in the CD ROM I see files with extension .shp
which I guess contain
informa