Displaying 2 results from an estimated 2 matches for "ivanho".
Did you mean:
ivano
2006 Nov 09
1
Merge: how can I keep discarded values?
...eparate file.
The problem is how to retrieve the non-matching rows in R.
Example:
DATASET A
code nomi
A1 Franco
A2 Mario
A3 Andrea
A4 Sandro
A5 Luca
DATASET B
code book
A1 Guerra e Pace
A1 Storia di Roma
A2 La coscienza di Zeno
A4 Ivanhoe
A1 I Malavoglia
A2 Jude the obscure
when merging two rows are unmatched:
A3 Andrea
A5 Luca
And these are exactly the rows I would like to store in a separate
file/dataset.
I tried with:
AM<-merge(A,B,all=TRUE)
A1<-AM[is.na(AM$book),]
to keep the rows with a NA val...
2000 Jan 27
0
win95 user level security printing
...eceived this e-mail in error, please delete it
immediately from your system and notify us by e-mail at
errors@igs.vic.edu.au
Any views expressed in this e-mail and any files transmitted with it are
those of the individual sender, except where the sender specifically states
them to be the views of Ivanhoe Grammar School. Ivanhoe Grammar School does
not represent or warrant that the attached files are free from computer
viruses or other defects. The user assumes all responsibility for any loss
or damage resulting directly or indirectly from the use of the attached
files.
===========================...