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
## 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

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.

...

additional arguments to be passed to or from methods.

Value

An matrix, data.frame, or list.


StatisticsNZ/classconc documentation built on May 9, 2019, 2:03 p.m.