Add cols_omit
option to omit column header data (#213)
Add pt_demographics
function to generate a new table of both continuous and categorical data (#186, #249)
Add title_side
argument to colsplit()
so that the title can be taken from left or right side of split (#231)
Add hline
argument to rowgroup()
constructor to make the horizontal line above the panel data optional (#215)
Refactor pt_data_inventory()
to calculate percent BLQ using denomninator that is the sum of the number of observations BLQ and non-BLQ / non-missing (#221, #222)
st_asis()
gains a method for pmtable
objects (#236)
List names are now escaped when passing a list of tables to st2report()
and friends (#232)
Add newline after printing table text using st_asis()
(#224)
Fix bug where arguments could not be passed along to stable_long()
when coercing pmtable output (#203)
Fix bug where user-specified font size was not getting propagated to long table output with stable_long()
(#204)
.list
argument to st_rename()
allowing user to pass rename information as a named list with format old name = new name
#189drop_miss
wasn’t executing correctly #182stable_long()
is now a generic function with methods for data.frame
, stobject
and pmtable
#179st_span()
was slightly refactored so that it would dispatch to st_span_split()
when the split
argument was passed #173span_split()
was updating column names, but this was happening before other spans were calculated #172NA
) and will replace them with the string "NA"
and issue a warning #117st2report()
, st2article()
or st2doc()
; see landscape
argument to st_wrap()
#129lt_cap_short
argument to stable_long()
to set a short table title that will appear in list of tables #131na_fill
argument to set placeholder #133hline
indices when set with st_hline()
#134cols_bold
that prevented sanitizing text prior to styling as bold #141st2report()
to quickly preview tables in a real-like report document, build directly with pdflatex
#148st2article()
to quickly preview tables in a latex article
-like, built directly with pdflatex
#148st_asis()
function and asis
argument to st_wrap()
; pipe tables to st_asis()
or use asis
argument to render tables in line in an Rmd document; in addition to formatting output “as-is”, latex dependencies are also invoked #149yaml_as_df()
functionality to accept table columns by position, rather than name #154stable()
method for stobject
#159by
argument to pt_cont_long
so that, when panel
is also passed, the table is paneled by col
and is “by” the panel
variable #92pt_cat_long
so that summary numbers are shown underneath column labels #102row
and col
in tab_size()
with the same behavior as tabular / stable()
#105cols_extra
feature, allowing extra column header information passed as a data frame (see tab_cols()
) #102, #118data
arguments to reinforce that pmtables doesn’t filter or subset data
prior to processing or summarizing #120stable_long()
where stable_file
wasn’t getting savedn
summary column to pt_cat_wide()
#80pt_wrap()
generic; add method for stable_long
that doesn’t wrap with table #121duplicates_ok
argument to rowpanelduplicates_ok
is FALSEget_debug_data()
st_*
functions that can be used in a pipeline to set arguments for stable()
; see inst/demo-pipe.pdf
st2doc
will render multiple page document when a list of tables is passed in as textstable
argument from bold_cols
to col_bold
col_bold
argumentr_file
and output_file
are only settable with options r.file.label
and output.file.label
, respectivelycol_space
, row_space
and fontsize
arguments to stable()
; they should be set with a call to tab_size
st_sizes()
to set sizes
argument to stable()
stable()
function in order to reduce cyclomatic complexity and shorten overall function length in response to brief review and comment by TS representativepanel
argument as a rowgroup objectas.panel()
function for constructing rowgroup objectspanel
is passed with an alternate name, the name is is used to set the prefixpmtables.dir
to set output directory for stable_save()
mrg.script
to set script name in st_files()
and tab_notes()
...
to create multi-line column namesheader_row
argument to tab_cols()
to control the spacing between column labels and between labels and units?pt_opts
center
argument to col_fixed
; when ragged
is no
, the column can still be fixed and centered...
) added to st_new()
/ st_data()
to be collected by argsst_units()
pipeline functiontex_bold
() function to style data frame contentstex_it()
function to style data frame contentsst_edit()
st_hline()
; allow to add hline by regexp across whole data frame or targetedst_bold
and st_it
to target columns or whole data framest_drop()
analysis1
, pmt_pk
, pmt_first
, pmt_obs
tab_cols
: all col_xyz
arguments are renamed to cols_xyz
find_bq_col
function to allow either BQL
or BLQ
as default value for bq_col
argument to pt_data_inventory
pattern
and cols
arguments to st_sumrow
; this allows calculation of rows
based on a regular expressiondf_grep_rows
and df_grepl_rows
functions for finding rows where a regular expression is matchedpmtables.escape
option to pass a character vector of items to be escapedheader_row
(tab_size()
) is a negative number; enter a negative number if you want to remove space between header rows; this should only be required when row space is increased