Basic alignment, row offsetting second of two
vector
s or data.frame
s.
Usage
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.frame
s, the names
of the columns that n_align
should align.
- ...
Other arguments, currently ignored.
Value
data.frame
of x
and y
, with y
offset n
rows.