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

# S3 method for 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