Basic alignment, row offsetting second of two
vector
s or data.frame
s.
# Default S3 method
n_align(x, y = NULL, n = 0, by = NULL, ...)
First vector
or data.frame
, to be aligned
and merged with.
Second vector
or data.frame
to align and
merge with x
.
y
offset when binding y
to x
,
default 0.
If x
or y
are data.frame
s, the names
of the columns that n_align
should align.
Other arguments, typically handled by common alignment
functions or ignored.
By default, n_align
returns a data.frame
of
x
and y
, with y
offset n
rows.