smoothUnchull: smoothUnchull

smoothUnchullR Documentation

smoothUnchull

Description

Get a hull of input set of points. The hull can be non-convex.

Usage

smoothUnchull(x, y, nbin = 100, nsm = 10, addsm = 1, qval = 0.95, sfac = 1.5)

Arguments

x

a vector of x coordinates

y

a vector of y coordinates

nbin

number of points used to shape the hull, default 100

nsm

number of points used to perform convolution, should less than nbin, default 10

addsm

number of additional times of convolution performed, default 1

qval

quantile of each sector, used to determine the edge of the hull, should less than 1, default 0.95

sfac

expansion size factor, larger value means bigger hull, default 1.5

Value

a list of coordinates of the hull


sajuukLyu/ggunchull documentation built on May 22, 2024, 7:37 a.m.