Call apply-like function on each row of dataframe with multiple arguments from each row
I have a dataframe with multiple columns. For each row in the dataframe, I want to call a function on the row, and the input of the function is using multiple columns from that row. For example, let’s say I have this data and this testFunc which accepts two args: > df <- data.frame(x=c(1,2), y=c(3,4), … Read more