coercion {dembase}R Documentation

Coerce concordances to other formats.

Description

Coerce concordances to other formats.

Usage

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


[Package dembase version 0.0.0.119 Index]