Learn R Programming

tidycomm (version 0.4.1)

get_reliability: Get reliability estimates of index variables

Description

Get reliability estimates of index variables created with add_index.

Usage

get_reliability(
  data,
  ...,
  type = "alpha",
  interval.type = NULL,
  bootstrap.samples = NULL,
  conf.level = NULL,
  progress = FALSE
)

Value

a tdcmm model

Arguments

data

a tibble or a tdcmm model

...

Index variables created with add_index. Leave empty to get reliability estimates for all index variables.

type

Type of reliability estimate. See ci.reliability

interval.type

Type of reliability estimate confidence interval. See ci.reliability

bootstrap.samples

Number of bootstrap samples for CI calculation. See ci.reliability

conf.level

Confidence level for estimate CI. See ci.reliability

progress

Show progress for reliability estimate computation. Useful if using computationally intense computations (e. g., many bootstrapping samples) and many index variables.

See Also

add_index() to create index variables

Examples

Run this code
WoJ %>%
  add_index(ethical_flexibility, ethics_1, ethics_2, ethics_3, ethics_4) %>%
  get_reliability()

Run the code above in your browser using DataLab