rank_list: Rank list constructor

Description Usage

View source: R/class_rank.R

Description

'rank_list()' constructs a rank list object, where each entry in the list corresponds to the ordered option for that survey row. Can be constructed from an existing list of character vectors or a character vector itself that will be turned into a list by splitting on spaces in the string.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
rank_list(
  x = list(),
  relevant = NA,
  choice_names = NA,
  choice_labels = NA,
  q_name = NA,
  label = NA,
  constraint = NA,
  max_rank = na_length(choice_names),
  position_sep = "/"
)

caldwellst/koborg documentation built on May 29, 2020, 3:04 a.m.