coercion: Coerce concordances to other formats.

Description Usage Arguments Value

Description

Coerce concordances to other formats.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## S4 method for signature 'Concordance'
as.matrix(x, ...)

## S4 method for signature 'Concordance'
as.data.frame(
  x,
  row.names = NULL,
  optional = FALSE,
  stringsAsFactors = default.stringsAsFactors(),
  ...
)

## S4 method for signature 'ManyToOne'
as.list(x, ...)

Arguments

x

A Concordance

...

additional arguments to be passed to or from methods.

row.names

NULL or a character vector giving the row names for the data frame.

optional

Logical. See as.data.frame.

stringsAsFactors

Whether codes should be represented as factors.

Value

An matrix, data.frame, or list.


StatisticsNZ/dembase documentation built on Dec. 25, 2021, 4:49 p.m.