Learn R Programming

mvalpha (version 0.5.1)

new_mvalpha: Create new mvalpha class object

Description

Wrapper for creating mvalpha class object.

Usage

new_mvalpha(
  mvalpha,
  type,
  mvDo,
  mvDe,
  bootstrap_mvalpha,
  unique_cardinalities,
  units,
  observers,
  labels,
  values,
  values_by_unit,
  dist_CK,
  p_CK,
  data
)

Value

an mvalpha object

Arguments

mvalpha

Multi-valued alpha estimate

type

a string describing the data type of the label set. This can be "nominal", "ordinal", "interval", or "ratio" and is used to select the appropriate distance metric.

mvDo

Observed disagreement

mvDe

Expected disagreement

bootstrap_mvalpha

Bootstrap estimates of mvalpha

unique_cardinalities

Numeric vector of the unique cardinalities observed in the data

units

Names of units

observers

Names of observers

labels

Unique labels used in data

values

Unique values used in data

values_by_unit

Table of values by unit

dist_CK

Distance matrix for label sets C and K

p_CK

Probability matrix for label sets C and K

data

a data frame containing a list column for each observer. Each row represents an observation unit, and each cell contains a vector of 0 to w unique values, where w is the number of unique values found in the data set. NA values are used to represent missing observations and NULL values represent the empty set, {}, of responses.