Learn R Programming

rfishnet2 (version 0.2.0)

occ_map: Plot Longitude and Latitude Points on World Map

Description

occ_map returns a plot with columns 'Longitude' and 'Latitude' in FishNet2 dataframe on a world map.

Usage

occ_map(df, color = "darkred")

Arguments

df

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

color

Color of plotted points, default is dark red

Value

Plot of latitude and longitude points on world map

Details

This is a function to get a plot of occurrence records from FishNet2 search query. Parameter is a dataframe that must have the columns 'Longitude' and 'Latitude'. NA values are removed in the function.

Examples

Run this code
# NOT RUN {
occ_map(ictaluridae)
# }

Run the code above in your browser using DataLab