find.matching.rows: Function find.matching.rows

View source: R/find.matching.rows.R

find.matching.rowsR Documentation

Function find.matching.rows

Description

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.

Usage

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).

Author(s)

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

See Also

A sub-function of getExpansion_1


nwfsc-assess/PacFIN.Utilities documentation built on March 19, 2024, 11:54 p.m.