as.data.frame.fmt: Casts a format to a data frame

View source: R/fmt.R

as.data.frame.fmtR Documentation

Casts a format to a data frame

Description

Cast a format object to a data frame. This function is a class-specific implementation of the the generic as.data.frame method.

Usage

## S3 method for class 'fmt'
as.data.frame(
  x,
  row.names = NULL,
  optional = FALSE,
  ...,
  name = deparse(substitute(x, env = environment()))
)

Arguments

x

An object of class "fmt".

row.names

Row names of the return data frame. Default is NULL.

optional

TRUE or FALSE value indicating whether converting to syntactic variable names is options. In the case of formats, the resulting data frame will always be returned with syntactic names, and this parameter is ignored.

...

Any follow-on parameters.

name

An optional name for the format. By default, the name of the variable holding the format will be used.

See Also

Other fmt: as.fmt(), as.fmt.data.frame(), condition(), is.format(), labels.fmt(), print.fmt(), value()


dbosak01/fmtr documentation built on June 15, 2024, 4:26 a.m.