Defines functions findSpecies

Documented in findSpecies

findSpecies <- function(string){
# First find all the cells that contain the string
  cellsOI <- apply(species, 2, function(x) grepl(string, x, ignore.case=TRUE))
# Now determine all the rows that of interest
  rowsOI <- apply(cellsOI,1,sum)
# Display the rows of interest

Try the hoardeR package in your browser

Any scripts or data that you put into this service are public.

hoardeR documentation built on May 29, 2017, 11:04 a.m.