----- Original Message -----
From: "Silvano" <silv...@uel.br>
To: <r-help@r-project.org>
Sent: Thursday, June 30, 2011 9:07 AM
Subject: Tables and merge
Hi,
I have 21 files which is common variable CODE.
Each file refers to a question.
I would like to join the 21 files into one, to construct
tables for each question by CODE.
I tried the command (8 files only):
require(foreign)
q1 = read.epiinfo('Dados/Q1.rec')
q2 = read.epiinfo('Dados/Q2.rec')
q3 = read.epiinfo('Dados/Q3.rec')
q4 = read.epiinfo('Dados/Q4.rec')
q5 = read.epiinfo('Dados/Q5.rec')
q6 = read.epiinfo('Dados/Q6.rec')
q7 = read.epiinfo('Dados/Q7.rec')
q8 = read.epiinfo('Dados/Q8.rec')
juntos = merge(q1,q2,q3,q4,q5,q6,q7,q8)
But it didn't work. Any suggestions?
Thank you.
--------------------------------------
Silvano Cesar da Costa
Departamento de EstatÃstica
Universidade Estadual de Londrina
Fone: 3371-4346
--------------------------------------
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.