Coerces a submission object to a document.
# S3 method for submission
as.document(
x,
title,
short = title,
protocol = "~",
sponsor = "~",
program = "~",
author = "~",
date = "\\mydate \\today",
lhead1 = short,
lhead2 = protocol,
rhead1 = sponsor,
rhead2 = program,
lfoot = author,
rfoot = date,
logo = NULL,
logoscale = 1,
morePreamble = NULL,
geoLeft = "1in",
geoRight = "1in",
geoTop = "1in",
geoBottom = "1in",
pagestyle = NULL,
thispagestyle = NULL,
units = FALSE,
...
)
a list of artifacts each having attributes: x, tag, des, file, spec
a title for the document
short title
relevant protocol
program sponsor
drug development program
document author
today's date by default
left header 1, e.g. short title
left header 2, e.g. relevant protocol(s)
right header 1, e.g. sponsor
right header 2, e.g. development program
left footer (italicized), e.g. responsible party
right footer, today's date by default
file path for title page logo
size adjustment for logo
if NULL, a special value is passed to latexpdf::as.document.character
. See function definition for details, and override if necessary.
passed to latexpdf::as.document.character
passed to latexpdf::as.document.character
passed to latexpdf::as.document.character
passed to latexpdf::as.document.character
passed to latexpdf::as.document.character
passed to latexpdf::as.document.character
Should units for continuous variables be printed in Codes column?
passed to as.define, as.tabular, as.document.character
Makes a pdf-ready character object representing a latex document. Essentially a wrapper for as.document. Title, logo, headers, footers, date are placed on the title page. The second page has a menu (table) of defined objects that creates bi-directional links to any defined data tables. Links are also created to the storage locations relative to the (resulting) define.pdf. Following pages table the attributes of data items in any datasets.