argcheck_Kmax: Check for argument 'Kmax'

Description Usage Arguments Value

View source: R/function_checks.R

Description

Check whether argument 'Kmax' was provided and is adequate before subsampling. Propose adequate value if Kmax is not provided.

Usage

1
argcheck_Kmax(Kmax, lmin, datalength)

Arguments

Kmax

maximum number of segments.

lmin

minimum length of segments.

datalength

length of data provided

Value

an integer


segclust2d documentation built on Oct. 11, 2021, 9:10 a.m.