Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- res <- sum(df$column1>x1 & df$column2>x2)
- columns = c("column1","column2",...,"columnn")
- values = c(x1,x2,...,xn)
- res <- sum(df$column1>x1 & df$column2>x2 & ... & df$columnn>xn)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement