checkPrintSegmentationParams: Check and print segmentation parameters

View source: R/SOptim_AuxFunctions.R

checkPrintSegmentationParamsR Documentation

Check and print segmentation parameters

Description

An useful function to verify the name of segmentation parameters to be optimized and to print them during GA optimization.

Usage

checkPrintSegmentationParams(x, segmentMethod, rnd = 5, print = TRUE)

Arguments

x

A character vector containing parameter names.

segmentMethod

The name of the segmentation method. Check available options on segmentationGeneric.

rnd

An integer defining the number of decimal plates.

print

Boolean defining whether or not to print the parameters.

Value

Prints a message with the segmentation parameters (returns NULL).

Examples

checkPrintSegmentationParams(x = c(0.1, 5), segmentMethod = "GRASS_RG", 
                             rnd = 5, print = TRUE)
 


joaofgoncalves/SegOptim documentation built on Feb. 5, 2024, 11:10 p.m.