select_kernel: select_kernel

View source: R/select_kernel.R

select_kernelR Documentation

select_kernel

Description

Kernel selection

Usage

select_kernel(kernel_arg, bw, rmax, divisor)

Arguments

kernel_arg

Parameter of the function reconstruct_pattern_multi_trait_marks, specifies the kernel to be used to calculate the energy, possible kernels can be: Gaussian, Epanechnikov, Rectangular, Cumulative.

bw

Bandwidth with which the kernels are scaled, so that this is the standard deviation of the smoothing kernel.

rmax

Maximum distance at which the summary statistics are evaluated.

divisor

Divisor in the smoothing kernel, d or r.

Details

Returns the function of the selected kernel, which is then used to calculate the kernel.

Value

list


mhesselbarth/SHAR documentation built on Dec. 17, 2024, 3:45 p.m.