Converting to vectors before numeric