speciescount: Count number of records per species

Description Usage Arguments Value Author(s) See Also Examples

Description

Counts number of records per species in a dataframe

Usage

1
speciescount(dat, orderby = "Species")

Arguments

dat

a dataframe containing fields with the following names: ID, x, y, Species and Exclude

orderby

the output can be ordered by Species, ntot or nuniq

Value

a dataframe including the species names, total number of records for that species (ntot) and number of records for that species with duplicates per grid cell removed (nuniq)

Author(s)

Mark Robertson

See Also

duplicatesexclude, missingvaluesexclude, addmainfields, renamefields, checkdatastr

Examples

1
2
speciescount(dat, orderby = "Species")
speciescount(dat, orderby = "ntot")

biogeo documentation built on May 1, 2019, 8:05 p.m.