Displaying 1 result from an estimated 1 matches for "1003_1".
Did you mean:
10031
2009 Oct 22
1
help sub setting data frame
...; dim(chkPd)
[1] 3213 6
> df = head(chkPd)
> df
PN WB Sire Dam MG SEX
601 1001 715349 61710 61702 67 F
969 1001_1 511092 616253 615037 168 F
986 1002_1 511082 616253 623905 168 F
667 1003 715617 61817 61441 67 F
1361 1003_1 510711 635246 627321 168 F
754 1004 715272 62356 61380 67 F
> dfb = chkPd[df$PN,]
> dfb
PN WB Sire Dam MG SEX
1001 2114_1 510944 616294 614865 168 M
NA <NA> NA <NA> <NA> NA <NA>
NA.1 <NA> N...