search for: ringno

Displaying 2 results from an estimated 2 matches for "ringno".

2013 May 03
2
R does not subset
Hi everyone, I know there have been several requests regarding subsetting before, but none of them really helps with my problem: I'm trying to subset only infected individuals from the REC2 data.frame: > str(REC2) 'data.frame': 362 obs. of 7 variables: $ RINGNO : Factor w/ 370 levels "BL17546","BL17577",..: 78 81 67 41 58 66 17 $ year : Factor w/ 8 levels "Y2002","Y2003",..: 1 2 1 2 1 1 2 1 1 3 ... $ ccFLEDGE : int 6 6 6 5 6 7 6 7 6 5 ... $ rec2012 : int 2 1 2 2 1 2 1 1 1 0 ... $ binage : Factor w/ 2...
2007 Nov 26
1
spss, string factors, selecting
...aff<-read.spss("/Users/Kat/Desktop/papers in progress/btopaper/ edited BTO data/fatnewchaff.sav", to.data.frame=TRUE) chafffat<-read.spss("/Users/Kat/Desktop/papers in progress/btopaper/ edited BTO data/fatmethods.sav") chaffmerge2<-merge(chaff, chafffat, by.x=c("RINGNO", "FAT", "FATMTD"), by.y=c("RINGNO", "FAT", "FATMTD"), all=T) attach(chaffmerge2) chaffhabfactor<-factor(chaffmerge2$HYBRID_A) levels(chaffhabfactor) Echaff<-chaffmerge2[FATMTD==" E",] attach(Echaff) names(Echaff) plotmeans(Ec...