I need to wrap this function in a for loop (or lapply) and pass in the values using a CSV file. I feel like I might be close to the solution, but I'm not experienced enough in R to know how to do that.
This is my function:
run(calculate_fnscore, list("MonthsEmployed" = 1,
"MonthlyRent" = 0,
"CO_Age" = NULL,
"LN_ialenofres" = NULL,
"NewVehInd" = boolean_to_bit(FALSE)))
The list values I have to put in by hand and I need to test 10,000 values. That's not practical. I need to put this in some kind of for loop and pass in the values from a CSV file or another way to make this more automated. Any help is appreciated.