set_mode.cluster_spec {tidyclust}R Documentation

Change mode of a cluster specification

Description

Change mode of a cluster specification

Usage

## S3 method for class 'cluster_spec'
set_mode(object, mode)

Arguments

object

A model specification.

mode

A character string for the model type (e.g. "classification" or "regression")

Value

An updated cluster_spec object.


[Package tidyclust version 0.2.1 Index]