I am a new user in R, and I have a dataset with 5000 variables. I am looking to add 1 for every 100 numerical variables, but I am not sure how I can determine these variables out of the huge dataset or what the formula could be. Just to make it clearer, the variable names that I want to add 1 for each one of them range from B-ARP, so I want to make something like this: B-ARP + 1. Perhaps this is a simple question, but I just started using R yesterday because I was using Stata.
I found this code bellow from another question but I am not sure if it is apply to my situation. library(dplyr) df %>% mutate(across(