Learn R Programming

spNetwork (version 0.1.1)

check_geometries: Geometry sanity check

Description

Function to check if the geometries given by the user are valid.

Usage

check_geometries(lines, samples, events, study_area)

Arguments

lines

A SpatialLinesDataFrame

samples

A SpatialPointsDataFrame of the samples

events

A SpatialPointsDataFrame of the events

study_area

A SpatialPointsDataFrame of the study_area

Value

TRUE if all the checks are passed

Examples

Run this code
# NOT RUN {
#This is an internal function, no example provided
# }

Run the code above in your browser using DataLab