c.classified: Combine Classified

c.classifiedR Documentation

Combine Classified

Description

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, and then removing duplicated names with warning.

Usage

## S3 method for class 'classified'
c(..., recursive = TRUE)

Arguments

...

passed to next method

recursive

passed to unlist() internally

Value

class 'classified' 'factor'

See Also

Other classified: [.classified(), [<-.classified(), [[.classified(), [[<-.classified(), as.integer.classified(), classified.classified(), classified.data.frame(), classified.default(), classified.dvec(), classified.factor(), classified(), desolve.classified(), unclassified.classified(), unclassified.data.frame(), unclassified()

Examples

a <- classified(letters[1:3])
b <- classified(letters[3:5])
c <- c(a,b)
c
class(c)


yamlet documentation built on Oct. 6, 2023, 9:07 a.m.