by joshfoster » Mon Apr 19, 2021 3:37 pm
Hi, sorry if I'm missing something obvious, but I cannot figure out how to do a calculation on a vector of variables. For example, say I want to sum together 10 variables called var1, var2, var3...var10. If I use the formula, SUM(var1:var10), I get an error message saying that there is not a variable in the dataset called "var1:var10". I can sum together these variables using the formula, SUM(var1,var2....var10), which is fine for small vectors, but becomes time-consuming when working with lengthy vectors of variables. Am I making a silly mistake or is this perhaps a function that has not yet been added to Jamovi? Thanks so much! I love, love, LOVE Jamovi! -Josh