Skip to contents

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

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.frames, 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.

Author

Karl Ropkins