plot_records {rfishnet2}R Documentation

Plots record count by Scientific Name on a bar graph.

Description

plot_records returns a bar graph showing the number of records for each distinct scientific name in the dataset.

Usage

plot_records(df, top_ten = TRUE, color = TRUE)

Arguments

df

A dataframe in FishNet2 standard format (by using read.csv())

top_ten

Top ten species occurrence counts

color

True if each bar should have a distinct color, FALSE for grey bars. Default: TRUE

Details

This is a function to visualize data by Scientific Name from FishNet2 search query. A dataframe is input from a standard FishNet2 search query.

Value

Plot of record count by Scientific Name on a bar graph

Examples

plot_records(louisiana)

[Package rfishnet2 version 0.2.0 Index]