argcheck_scale.variable: Check for argument 'scale.variable'

View source: R/function_checks.R

argcheck_scale.variableR Documentation

Check for argument 'scale.variable'

Description

Check whether argument 'scale.variable' was provided. If not, propose default value.

Usage

argcheck_scale.variable(scale.variable, is_segclust)

Arguments

scale.variable

minimum length of segments.

is_segclust

TRUE if function is called from segclust ; FALSE otherwise, if function is called from segmentation.

Value

a boolean


rpatin/segtools documentation built on Sept. 12, 2022, 5:09 p.m.