a guest Feb 19th, 2019 64 Never
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)
RAW Paste Data