set_mode.cluster_spec: Change mode of a cluster specification

View source: R/arguments.R

set_mode.cluster_specR 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.


tidyclust documentation built on July 3, 2024, 1:06 a.m.