bcharea: buffer a convex hull and compute area

View source: R/bcharea.R

bchareaR Documentation

buffer a convex hull and compute area

Usage

data(bcharea)

Format

The format is: chr "bcharea"

Examples

library("rgeos")
library("scrbook")
library("maptools")
data(beardata)
trapmat<-beardata$trapmat

B.MMDM<- 2.373

aa<-chull(trapmat)
buffered.area<- area(as.matrix(trapmat[aa,]))

bcharea(B.MMDM,traplocs=trapmat)
cat("area of buffered convex hull: ",buffered.area,fill=TRUE)


jaroyle/oSCR documentation built on Sept. 23, 2023, 12:46 p.m.