helloR wrote: > > > this is the problem: > load this R data frame over the internet and save it to your hard drive. > http://rss.acs.unt.edu/Rdoc/library/twang/data/raceproling.RData > ... > > please show how to save a dataset of males only (the variable male=1) to a > new dataframe. Then do the now to merge: > .. > Interesting homework.
helloR wrote: > > I tried >merge(newr,news) > In R-world, other than in c, you have to assign the result to change it. Something like realynew <- merge(....) could help. Dieter -- View this message in context: http://r.789695.n4.nabble.com/hi-have-a-question-about-merging-tp3079559p3079701.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.