I have a table test
date breakfast lunch 1/2/2020 10 201/3/2020 5 251/4/2020 8 20
Just for the sake of an exmple, I want to calculate a new variable with the formula
test.newvariable(k) = test.lunch(k)/sqrt(test.breakfast(k))
Can one define this new variable without using a loop?
Best Answer