pmtables 0.5.0
-
New functions
st_as_image()
,st2pdf()
, andst2png()
to render tables with
TeX to eitherpdf
orpng
format; image files may be kept on disk
or read back for display while knitting;pdflatex
system dependency for
pdf
images andlatex
+dvipng
forpng
images; additional Suggested
packages includemagick
andpdftools
(#277, #278). -
sig()
now returns character when integer type is passed (#272). -
st_new()
is now generic with dispatch fordata.frame
and objects with
classpmtable
; most pipeline functions can now be used to customize
tables coming frompt_cat_*
,pt_cont_*
,pt_demographics()
and
pt_data_inventory()
(#274). -
New functions
st_notes_detach()
,st_notes_rm()
,st_notes_app()
,
st_notes_str()
,st_notes_sub()
andst_notes_conf()
to help working
with table notes in a pipe context (#274). -
st_span()
andst_span_split()
acceptalign
argument to push column
spanner titles to the left, right or center (default); the argument eventually
gets passed tocolgroup()
(#261). -
pt_cat_wide()
,pt_cat_long()
andpt_demographics()
gain argument
denom
to alter the denominator when calculating percents for categorical
data summaries (#268). -
pt_cat_wide()
gains argumentcomplete
to display missing levels of
by
andpanel
(#268). -
Put stories in yaml format; add script to build validation docs from the
yaml file (#269, #270).