auto.a: Parameters to select a reasonable value of 'a'

Description Usage Arguments Details Value See Also Examples

Description

Returns a list of parameters that other functions accept for the 'a' parameter

Usage

1
auto.a(meth = "nn", ptp = 0.98, nnn = 2, tct = 1.05)

Arguments

meth

The name of the method for finding a (default is "nn" method for 'nearest neighbor' method.

ptp

The proportion of total points [0..1]

nnn

The number of nearest neighbors

tct

The temporal continuity threshhold, see details.

Details

If multiple values are passed for any of the parameters, the resulting data frame will have multiple rows and other parameters will be recycled as needed.

This function does not actually find nearest neighgors. Rather it returns a list of parameters that can be used as input in other functions such as lxy.nn.add.

Value

A data frame with columns meth, ptp, nnn, and tct which are the settings that other functions will use to find a value for 'a' should be automatically selected. Columns include:

See Also

lxy.nn.add

Examples

1
2
3
4
## Not run: 
lxy <- lxy.nn.add(lxy, ptsh=0.5, a=auto.a())

## End(Not run)

tlocoh documentation built on May 2, 2019, 5:27 p.m.