class_means: Class Means

View source: R/all_generic.R

class_meansR Documentation

Class Means

Description

A generic function to compute the mean of each class.

Usage

class_means(x, i, ...)

Arguments

x

An object.

i

The index of the class for which the mean is to be computed.

...

Additional arguments passed to specific methods.

Value

A matrix or data frame representing the means of each class, the structure of which depends on the input object's class.


bbuchsbaum/neighborweights documentation built on April 1, 2024, 8:41 p.m.