Skip to content
Back to formatted view

Raw Message

Message-ID: <8ACAAC0A4F0B43568802DAE967A4B6EE@ccePC>
Date: 2011-07-06T11:36:27Z
From: Silvano
Subject: Tables and merge

----- Original Message ----- 
From: "Silvano" <silvano at uel.br>
To: <r-help at 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
> -------------------------------------- 
>