get_mid: Generate a ZooScatR shape file from x,y contour points

View source: R/get_shape.R

get_midR Documentation

Generate a ZooScatR shape file from x,y contour points

Description

Generates a shape file tha tcan be used directly in a ZooScatR model, based on contour coordinates

Usage

get_mid(fn, outdir = "", ndens = 500, prec = 2, rot = FALSE, res = 0.02)

Arguments

fn

character, input filename containing 2 columns with the x, y coordinates

outdir

character, folder to which the the output shape should be saved, defaults to ”, which selectds the current working directory

ndens

integer, number of points that will be used as a densification factor, defaults 500

prec

decimal points precision at which duplicated point will be averaged, defaults to 2

rot

boolean, TRUE/FALSE, used if x and y columns in the input file are flipped

res

numeric, defines the output resolution of the shape, defaults 0.02


AustralianAntarcticDivision/ZooScatR documentation built on Aug. 13, 2022, 1:21 a.m.