Convenience function to quickly copy-paste a vector
qVec(x, fn = NULL) qVecSum(x)
x | A string with numbers, separated by arbitrary whitespace. |
---|---|
fn | An optional function to apply to the vecor before returning it. |
The numeric vector or result of calling the function
qVec('23 9 11 14 12 20'); #> [1] 23 9 11 14 12 20