argcheck_Kmax: Check for argument 'Kmax'

View source: R/function_checks.R

argcheck_KmaxR Documentation

Check for argument 'Kmax'

Description

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

Usage

argcheck_Kmax(Kmax, lmin, datalength)

Arguments

Kmax

maximum number of segments.

lmin

minimum length of segments.

datalength

length of data provided

Value

an integer


rpatin/segclust2d documentation built on April 24, 2024, 2:22 a.m.