is.MVG_ideal_observer: Is this an ideal observer with multivariate Gaussian (MVG)...

View source: R/class-MVG-IO.R

is.MVG_ideal_observerR Documentation

Is this an ideal observer with multivariate Gaussian (MVG) categories?

Description

Check whether x is an ideal observer with multivariate Gaussian (MVG) categories. Optionally, one can also check whether a lapse rate and lapse bias is part of the ideal observer.

Usage

is.MVG_ideal_observer(
  x,
  group = NULL,
  category = "category",
  is.long = T,
  with.lapse = if (with.lapse_bias) T else F,
  with.lapse_bias = F,
  verbose = F,
  tolerance = 1e-05
)

Arguments

x

Object to be checked.

group

Name of one or more group variables, each unique combination of which describes an MVG_ideal_observer. (default: NULL)

category

Name of the category variable. (default: "category")

is.long

Is this check assessing whether the ideal observer is in long format ('TRUE') or wide format ('FALSE')? (default: 'TRUE')

with.lapse

Does this ideal observer have a lapse rate? (default: 'FALSE')

with.lapse_bias

Does this ideal observer have a lapse bias? (default: 'FALSE')

verbose

Should verbose output be provided? (default: 'TRUE')

Value

A logical.

See Also

TBD


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