Advertisement
Guest User

Untitled

a guest
Aug 24th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. names(dataexample_2)
  2. summary(dataexample_2)
  3.  
  4.  
  5. Add<-sapply(split(dataexample_2, dataexample_2$Treatment), function(d) sum(dataexample_2$Variable,na.rm = FALSE))
  6. Table<-as.data.frame(Add)
  7.  
  8. Add
  9. A1 2.44898
  10. A2 2.44898
  11. A3 2.44898
  12.  
  13. Add
  14. A1 0.3061
  15. A2 0.8163
  16. A3 1.3265
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement