checkSamples: checkSamples

Description Usage Arguments Details Value See Also Examples

View source: R/checkSamples.R

Description

checks if a shapefile with ground truth data contains all the necessary fields in the correct format.

Usage

1

Arguments

x

An object or a list of class sp containing a data.frame (e.g. SpatialPolygonsDataFrame).

Details

Checks if a shapefile - or a list of - contains necessary columns and if these have the right format. It searches for:

Value

A data.frame with the consistency checks for each element in x.

See Also

labelCheck

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
{

require(fieldRS)

# Example ground-truth data
data(fieldData)

# check shapefile content
cs <- checkSamples(fieldData)
head(cs)

}

RRemelgado/CAWaR documentation built on June 7, 2020, 10:27 p.m.