search for: xwaveid

Displaying 1 result from an estimated 1 matches for "xwaveid".

Did you mean: mwavedd
2007 Apr 23
1
automating merging operations from multiple dataframes
Hi, I have a set of dataframes names AINDSLIM, BINDSLIM, CINDSLIM ... NINDSLIM In each dataframe I want to extract two variables, “pid” and “{w}region”, where {w} means “a”, “b”, “c”, ...”n” At the moment my code looks like: > PidRegion <- data.frame(pid=XWAVEID$pid) > this.region <- AINDSLIM[,c("pid", "aregion")] > PidRegion <- merge(PidRegion, this.region, by="pid", all=T) > this.region <- BINDSLIM[,c("pid", "bregion")] > PidRegion <- merge(PidRegion, this.region, by="pid&...