get_reliability: Get reliability estimates of index variables

Description Usage Arguments Value See Also Examples

View source: R/reliability.R

Description

Get reliability estimates of index variables created with add_index.

Usage

1
2
3
4
5
6
7
8
9
get_reliability(
  data,
  ...,
  type = "alpha",
  interval.type = NULL,
  bootstrap.samples = NULL,
  conf.level = NULL,
  progress = FALSE
)

Arguments

data

a tibble

...

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.

Value

a tibble

See Also

add_index() to create index variables

Examples

1
2
3
WoJ %>%
  add_index(ethical_flexibility, ethics_1, ethics_2, ethics_3, ethics_4) %>%
  get_reliability()

tidycomm documentation built on July 6, 2021, 5:07 p.m.