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 e-mail:
Departamento de Econometr�a y Estad�stica [EMAIL PROTECTED] Facultad de CC.EE. y Empresariales Tel: (+34)94.601.3733
Avenida Lendakari Aguirre, 83 Fax: (+34)94.601.3754
E-48015 BILBAO (Spain) Secr: (+34)94.601.3740
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
