Learn R Programming

geozoning (version 1.0.0)

contourAuto: contourAuto

Description

contourAuto

Usage

contourAuto(cL, step, xsize, ysize, matVal, vRef, boundary, GridData = FALSE)

Arguments

cL

empty or existing list of contour lines

step

grid step as returned by calStep

xsize

size of map along x-axis

ysize

size of map along y-axis

matVal

dataframe with data values organized into a grid

vRef

quantile vector

boundary

list, contains x and y dy on a regular grid

GridData

logical value indicating if data are already on a regular grid

Value

a list of contour lines

Details

builds contout Lines qith the quantile vector given in argument and closes them with the map border

Examples

Run this code
# NOT RUN {
data(mapTest)
cL=list()
cL=contourAuto(cL,mapTest$step,mapTest$xsize,mapTest$ysize,mapTest$krigGrid,c(5,7),mapTest$boundary)
plot(mapTest$boundary,type="l",col="red")
geozoning:::linesC(cL)
# not run
# }

Run the code above in your browser using DataLab