Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2014
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. x <- c(3,5.5,6,5,10.5,12,11.5,11,20,22.5,21,23.5)
  2. p <- c(30.5,40,30.5,30,35,32.5,33,36,36.5,41,38.5,39)
  3. groups <- c(1,1,1,1,2,2,2,2,3,3,3,3)
  4.  
  5. # do chi square test
  6.  
  7. chisq.test(x, p = p, rescale.p = TRUE)` ## I want **include grouping (replicates)** information here.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement