Learn R Programming

vanddraabe (version 1.1.1)

check.cluster.method: Check Clustering Method

Description

Ensures the user provided clustering method is a valid choice.

Usage

check.cluster.method(cluster.method)

Arguments

cluster.method

The user defined clustering method for the ConservedWaters() and ConservedWaters.MDS().

Value

Correctly formatted clustering method or a stop error

Details

A simple check and reformatting of the clustering method indicated by the user in the ConservedWaters() and ConservedWaters.MDS() parameters.