Guest User

Untitled

a guest
Jan 22nd, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. Mode FALSE TRUE NA's
  2. logical 1176 212 0
  3.  
  4. mean(bwght[bwght$cigs>0,"cigs"])
  5.  
  6. mean(bwght$cigs| bwght$cigs>0)
  7.  
  8. mean(bwght$cigs>0 | bwght$cigs=TRUE)
  9.  
  10. if(bwght$cigs > 0){sum(bwght$cigs)}
  11.  
  12. x <-as.numeric(bwght$cigs, rm="0")
  13. mean(x)
Add Comment
Please, Sign In to add comment