User Tools

Site Tools


r-tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
r-tutorial [2011/10/13 14:22]
liuyipei
r-tutorial [2011/10/15 12:05]
liuyipei [Problem Set 1 Hints]
Line 291: Line 291:
 head(cd0) head(cd0)
  
-cd0<-data.frame(singlet=setdiff(as.character(unique(dz$singlet)), cd1),chole=0)+cd0<-data.frame(singlet=setdiff(as.character(unique(dz$singlet)), cd1$singlet),chole=0)
 cd0$chole<-'noncholes' cd0$chole<-'noncholes'
 cd.table<-rbind(cd1, cd0) cd.table<-rbind(cd1, cd0)
r-tutorial.txt · Last modified: 2011/10/15 12:05 by liuyipei