Description Usage Arguments Details
Coerces a submission object to a document.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | ## S3 method for class '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,
...
)
|
x |
a list of artifacts each having attributes: x, tag, des, file, spec |
title |
a title for the document |
short |
short title |
protocol |
relevant protocol |
sponsor |
program sponsor |
program |
drug development program |
author |
document author |
date |
today's date by default |
lhead1 |
left header 1, e.g. short title |
lhead2 |
left header 2, e.g. relevant protocol(s) |
rhead1 |
right header 1, e.g. sponsor |
rhead2 |
right header 2, e.g. development program |
lfoot |
left footer (italicized), e.g. responsible party |
rfoot |
right footer, today's date by default |
logo |
file path for title page logo |
logoscale |
size adjustment for logo |
morePreamble |
if NULL, a special value is passed to |
geoLeft |
passed to |
geoRight |
passed to |
geoTop |
passed to |
geoBottom |
passed to |
pagestyle |
passed to |
thispagestyle |
passed to |
units |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.