Hi @pfarelo,
If you use the tidyverse packages, you might want to check out the documentation for the function across, which lets you apply a single function across multiple columns.
Your code might look something like:
transformedData <- oldData %>%
mutate(across(c(GP, anotherColumn, yetAnotherColumn,
aFourthColumn),
function(x) asin(sqrt(x/100))
))
I hope that helps!