Takes two tables with a shared primary key, and returns the rows of the second table for which the keys match those of the first.

find.matching.rows(
  file,
  table,
  findex = 1,
  tindex = 1,
  tcol = 2,
  round. = TRUE
)

Arguments

file

Rows to be matched from table

table

Superset of file

findex

columns of file to use to match values in tindex

tindex

columns of table to use to match values in findex

tcol

Still mysterious.

round.

if values are numeric, round. Default: TRUE.

Details

NOTE: The way this is written assumes that the second table is a superset of the first (i.e., that each value is matched).

See also

A sub-function of getExpansion_1

Author

John R. Wallace (John.Wallace@noaa.gov), (revised) Andi Stephens, 2010.