Displaying 1 result from an estimated 1 matches for "jtsv1".
Did you mean:
htsv1
2012 Apr 09
2
return one vector that is the sum of a list of vectors
Dear R Help,
I am attempting to write a function that takes a list of variable groups and a vector of numbers (e.g., "jtsv" would indicate one group of variables, "jtsv1", "jtsv2", etc, each of which name a variable in a data frame), and returns a list of variable group sums. For example, given list("jtsv", "ptsv") and c(1:10), where jtsv1, etc, are all numeric vectors of the same length, the function should return a list of jtsv...