cast-rank-position: Cast to 'borg_rank_position'

Description Usage Arguments

Description

Cast 'x' to a 'borg_rank_position' vector

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
as_rank_position(x, ...)

## S3 method for class 'borg_rank_position'
as_rank_position(x, ...)

## S3 method for class 'numeric'
as_rank_position(
  x,
  relevant = NA,
  choice_name = NA,
  choice_label = NA,
  q_name = NA,
  label = NA,
  constraint = NA,
  max_rank = NA,
  position_sep = "/",
  ...
)

## S3 method for class 'double'
as_rank_position(
  x,
  relevant = NA,
  choice_name = NA,
  choice_label = NA,
  q_name = NA,
  label = NA,
  constraint = NA,
  max_rank = NA,
  position_sep = "/",
  ...
)

## S3 method for class 'integer'
as_rank_position(
  x,
  relevant = NA,
  choice_name = NA,
  choice_label = NA,
  q_name = NA,
  label = NA,
  constraint = NA,
  max_rank = NA,
  position_sep = "/",
  ...
)

Arguments

x

An object to coerce to 'borg_rank_position'.

...

Arguments passed on to further methods.


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