format_lon_lat: Fix latitude and longitude

Description Usage Arguments

View source: R/load-random-forest-data.R

Description

A brute force approach is used to match latitude and longitude pairs and the corrisponding value of variable.

Usage

1
2
format_lon_lat(dataframe, reference_df, variable, lon_lat_names = c("lon",
  "lat"))

Arguments

dataframe

a dplyr dataframe.

reference_df

a reference dataframe that must contain at least longitude and latitude. A dataframe.

variable

variable to be used in the reformatting process. The values of this variable will be reordered according to the new longitude and latitude values. Character.

lon_lat_names

name of longitude and latitude variables. A character vector. Example: by default lon_lat_names = c("lon", "lat")


pegoraro/qchlorophyll documentation built on May 24, 2019, 11:46 p.m.