plot_records: Plots record count by Scientific Name on a bar graph.

Description Usage Arguments Details Value Examples

View source: R/plot_records.R

Description

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

Usage

1
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 inputed from a standard FishNet2 search query.

Value

Plot of record count by Scientific Name on a bar graph

Examples

1

kdors/rfishnet2 documentation built on Jan. 14, 2020, 12:33 p.m.