Learn R Programming

PhyInsight (version 0.1.0)

getSpeciesRepr: Get Species Representatives

Description

Get one observation/row per species from a specimen dataframe.

Usage

getSpeciesRepr(specimen_dataframe)

Value

A dataframe where each column pertains to a variable and each row an individual specimen.

Arguments

specimen_dataframe

A specimen dataframe.

Examples

Run this code
# query data then extract one observation for each of the species available
specdata <- PhyInsight::querySpecData("Alouatta")

specdata <- getSpeciesRepr(specdata)

Run the code above in your browser using DataLab