c.classified | R Documentation |
Combines classified factor, retaining attributes. Attributes other than levels and codelist are taken from the first argument. Attribute 'levels' is supplied by next method. Attribute 'codelist' is the combined codelists in sequence of all (dots) arguments, after silently removing exact duplicates. If any names are duplicated, the entire codelist is replaced by the effective levels, with optional warning.
## S3 method for class 'classified'
c(
...,
recursive = TRUE,
warn_conflicted = getOption("yamlet_warn_conflicted", FALSE)
)
... |
passed to next method |
recursive |
passed to unlist() internally |
warn_conflicted |
logical: warn if any duplicated codelist names? |
class 'classified' 'factor'
Other classified:
[.classified()
,
[<-.classified()
,
[[.classified()
,
[[<-.classified()
,
as.integer.classified()
,
classified()
,
classified.classified()
,
classified.data.frame()
,
classified.default()
,
classified.dvec()
,
classified.factor()
,
desolve.classified()
,
unclassified()
,
unclassified.classified()
,
unclassified.data.frame()
a <- classified(letters[1:3])
b <- classified(letters[3:5])
c <- c(a,b)
c
class(c)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.