Non-equi join tables by angular distance.

angsep_left_join(x, y, by = NULL, max_sep = 1, sep_col = NULL)

Arguments

x

data.frame with astro_radec column.

y

data.frame with astro_radec column.

by

A character vector of variables to join by.

max_sep

maximum separation in units of arcseconds. Default is 1 arcsec.

If NULL, the default, angsep_join will perform a join, using first astro_radec variables in x and y.

To join by different specific variables on x and y, use a named vector. For example, by = c("coord1" = "coord2") will cross-match x$coord1 to y$coord2.

sep_col

A name of the distance column. If NULL, the default, it drops the sep_col column in the output data.frame.

Value

A data.frame containing all rows from x.