Basic alignment, row offsetting second of two vectors or data.frames.

# Default S3 method
n_align(x, y = NULL, n = 0, by = NULL, ...)

Arguments

x

First vector or data.frame, to be aligned and merged with.

y

Second vector or data.frame to align and merge with x.

n

y offset when binding y to x, default 0.

by

If x or y are data.frames, the names of the columns that n_align should align.

...

Other arguments, typically handled by common alignment functions or ignored.

Value

By default, n_align returns a data.frame of x and y, with y offset n rows.

Author

Karl Ropkins