year_sector_table: year_sector_table()

Description Usage Arguments Details Value Methods (by class) See Also

View source: R/year_sector_table.R

Description

Generic method to convert tables into wide format

Usage

1
2
3
4
5
year_sector_table(x, html, fmt, ...)

## S3 method for class 'year_sector_data'
year_sector_table(x, html = FALSE, fmt = "%.1f",
  ...)

Arguments

x

Object of class(x) == 'year_sector_data'.

html

Should the output be an R data.frame (and tbl and tbl_df) or as html using xtable.

fmt

Format for values in the table to be displayed as, following sprintf.

...

Passes arguments to print.xtable and xtable. Will silently be dropped if html = FALSE.

Details

Generic method to convert tables into wide format

Value

wide format table

Methods (by class)

See Also

sprintf


ukgovdatascience/eesectors documentation built on Sept. 11, 2020, 12:19 p.m.