get_mid | R Documentation |
Generates a shape file tha tcan be used directly in a ZooScatR model, based on contour coordinates
get_mid(fn, outdir = "", ndens = 500, prec = 2, rot = FALSE, res = 0.02)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.