Learn R Programming

biogeo (version 1.0)

speciescount: Count number of records per species

Description

Counts number of records per species in a dataframe

Usage

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

See Also

duplicatesexclude, missingvaluesexclude, addmainfields, renamefields, checkdatastr

Examples

Run this code
speciescount(dat, orderby = "Species")
speciescount(dat, orderby = "ntot")

Run the code above in your browser using DataLab