transform_model: Transform and untransform category means and covariance...

transform_modelR Documentation

Transform and untransform category means and covariance matrices of a model

Description

Applies the transformation specified in transform object (e.g., centering, scaling, PCA) to the category mean(s) and/or covariance(s) in the model.

Usage

transform_model(model, transform)

untransform_model(model, transform)

transform_category_mean(m, transform)

untransform_category_mean(m, transform)

transform_category_cov(S, transform)

untransform_category_cov(S, transform)

Arguments

model

A model with columns that specify category means (mu or m) and covariance information (Sigma or S).

transform

A transform or transform parameter object of the type returned by transform_cues.

m

A single category mean or alike.

S

A single covariance matrix or alike.

Value

A model, category mean, or covariance matrix of the same type as the input.


hlplab/MVBeliefUpdatr documentation built on March 29, 2025, 10:42 p.m.