Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. res <- sum(df$column1>x1 & df$column2>x2)
  2.  
  3. columns = c("column1","column2",...,"columnn")
  4. values = c(x1,x2,...,xn)
  5. res <- sum(df$column1>x1 & df$column2>x2 & ... & df$columnn>xn)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement