table: table

Description Usage Arguments Author(s) Examples

View source: R/package.R

Description

This function accepts a data frame to create a standard (non-standard later) report table using the design data acquired with the design() function. Data frames read with read() and trimmed to the correct height and width using trim() will have a format which produces clean tables ~~

Usage

1
table(frame,d=NULL,reg=T,type="",Ititle="")

Arguments

frame

the data frame object to be tabled

d

the design object produced by design(), NULL produces a table with no additional design characteristics

reg

the table type, is the table regular? = True, other functionality will be added later

type

a character string which describes the contents of the table which will decide how it will be organized into the standard folders. the default is that it will be saved into the root folder, other options are "rates", if it should go in the rates folder, "cos", if it should go into the cost of service folder, "revreq", if it should go in the revenue requirements folder, and "key", if it should go in the key assumptions folder. folders should be created using the directory() function

Ititle

character string which signifies the name of the output jpg. Tables should always have a title

Author(s)

Tony Boy

Examples

1
2
df <- data.frame(1:10,1:10)
table(df,Ititle="hey")

tonyelowsky/water documentation built on Nov. 13, 2019, 12:36 a.m.