Learn R Programming

biogeo (version 1.0)

checkdatastr: Checks data structure

Description

Checks the data structure to see which of the required columns are missing from the dataframe

Usage

checkdatastr(dat)

Arguments

dat
a dataframe containing several columns, including the x- and y-coordinates

Value

Details

Several functions require a particular set of columns with specific names. The required fields are: ID, x, y, Species, x_original, y_original, Correction, Modified, Reason and Exclude. Required fields that are missing can be added using addmainfields.

See Also

addmainfields, renamefields, keepmainfields

Examples

Run this code
data(dat)
a<-checkdatastr(dat)

Run the code above in your browser using DataLab