cleanByEnvironment: Clean points by the environment

View source: R/CalculateNicheSubspeciesDifferences.R

cleanByEnvironmentR Documentation

Clean points by the environment

Description

This function removes any localities that do not have environmental data so that the niche can be calculated. It assumes the second and third columns are longitude and latitude, respectively.

Usage

cleanByEnvironment(Env, loc, latname = "latitude", lonname = "longitude")

Arguments

Env

The environmental variables to calculate niche from

loc

The locality data

Examples


loc_good_clean = cleanByEnvironment(Env, loc)

kaiyaprovost/subsppLabelR documentation built on March 17, 2024, 5:09 p.m.