getLongitudeColumn: Returns the best longitude column name in df data.frame, if...

View source: R/extractRaster.R

getLongitudeColumnR Documentation

Returns the best longitude column name in df data.frame, if one exists.

Description

Returns the best longitude column name in df data.frame, if one exists.

Usage

getLongitudeColumn(df)

Arguments

df

The data.frame, hopefully containing a column for longitude.

Value

Returns the best column name for longitude - 'longitude', 'long', or 'x' respectively, or NULL if none of these column names exists in df


malariaAtlas documentation built on Oct. 27, 2023, 9:07 a.m.