assign_mode.stapDP: Estimates Posterior Mode Cluster Assignment

View source: R/assign_mode.R

assign_mode.stapDPR Documentation

Estimates Posterior Mode Cluster Assignment

Description

Estimates Posterior Mode Cluster Assignment

Usage

## S3 method for class 'stapDP'
assign_mode(x, loss = "green", ...)

Arguments

x

stapDP object

loss

one of c("green","square") denoting which loss function should be used. Defaults to "green".

...

optional arguments passed on to specific loss function

Value

vector of cluster assignments


apeterson91/rstapDP documentation built on Sept. 20, 2023, 9:34 a.m.