Learn R Programming

rfishbase (version 0.2-2)

familySearch: A function to find all fish that are members of a scientific Family

Description

deprecrated, see which_fish

Usage

familySearch(family, fish.data = NULL)

Arguments

family
The scientific family name. Can include grep matching, see examples
fish.data
the fishbase database or a subset

Value

  • a logical vector of length(fish.data) indicating the matches.

Details

The return value can be summed to give the number of matches, can be used as an index, e.g. fish.data[goby], to return the matches or to pass to another function. See examples.