Skip to content

Fetch and merge from a data set

5 messages · Nico Met, Rui Barradas, Rainer Schuermann +1 more

#
Hello,

I'm not sure I understand, but it seems as simple as

merge(data1, data)


Hope this helps,

Rui Barradas

Em 25-06-2013 10:34, Nico Met escreveu:
#
Is 

merge( data[1], data1 )

what you want?
On Tuesday 25 June 2013 12:00:23 Nico Met wrote:
- - - - -

Der NSA keine Chance: e-mail verschluesseln!
http://www.gpg4win.org/
#
HI,
Try this:
merge(data,data1["NAME"])

A.K.



----- Original Message -----
From: Nico Met <nicomet80 at gmail.com>
To: Rui Barradas <ruipbarradas at sapo.pt>
Cc: R help <r-help at r-project.org>
Sent: Tuesday, June 25, 2013 6:00 AM
Subject: Re: [R] Fetch and merge from a merge(dat1["NAME"],dat2)
data set

Many thanks Rui,

However If I want to extract only first column (data1) from data file, then
how Can I do it?

Thanks again

Nico
On Tue, Jun 25, 2013 at 11:43 AM, Rui Barradas <ruipbarradas at sapo.pt> wrote:

            
??? [[alternative HTML version deleted]]

______________________________________________
R-help at 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.