longestVec function

The function takes in multiple vectors of any length, and returns the one with the longest length. The tieBreaker variable controls if the first or the last of the longest vectors gets returned in case there are multiple

  • Maintainer: Alan Gu
  • License: GPL
  • Last published: 2016-03-31

Useful links