Finally found better name for lag(), now lagdf() which always returns data.frame, and lagvec() which returns a vector