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
Next revision
Previous revision
Next revision Both sides next revision
r-tutorial [2011/10/13 00:43]
liuyipei
r-tutorial [2011/10/13 00:59]
liuyipei
Line 280: Line 280:
  
  
-====What I used to do assignment 1====+====Problem Set Hints====
 <code> <code>
 setwd('/Users/liuyipei/BMI215/Module 1 - Nick/DrugSafety-Homework') setwd('/Users/liuyipei/BMI215/Module 1 - Nick/DrugSafety-Homework')
Line 324: Line 324:
 trapz(my.x, my.y) trapz(my.x, my.y)
  
-</code>+data.frame(a=c(8,12),b=c(31,41))->
 +
 +fisher.test(t)->f.t 
 +ls(f.t) 
 +f.t$p.value 
 +f.t$conf.int
  
 +</code>
r-tutorial.txt · Last modified: 2011/10/15 12:05 by liuyipei