cast-sm-char: Cast to 'borg_sm_char'

Description Usage Arguments

Description

Cast 'x' to a 'borg_sm_char' 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
as_sm_char(x, ...)

## S3 method for class 'borg_sm_char'
as_sm_char(x, ...)

## S3 method for class 'character'
as_sm_char(
  x,
  relevant = NA,
  choice_names = NA,
  choice_labels = NA,
  q_name = NA,
  label = NA,
  constraint = NA,
  binary_sep = "/",
  ...
)

## S3 method for class 'borg_sm_list'
as_sm_char(x, ...)

## S3 method for class 'character'
as_sm_list(
  x,
  relevant = NA,
  choice_names = NA,
  choice_labels = NA,
  q_name = NA,
  label = NA,
  constraint = NA,
  binary_sep = "/",
  ...
)

## S3 method for class 'borg_sm_char'
as_sm_list(x, ...)

Arguments

x

An object to coerce to 'borg_sm_char'.

...

Arguments passed on to further methods.


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