ys_document | R Documentation |
This function is a wrapper around render_define()
and render_fda_define()
.
ys_document(x, type = c("working", "regulatory"), ...)
x |
a spec or project object |
type |
the document type |
... |
passed to |
Select type
of "working' for a working document that contains more
information in a less-compact layout. This is a good format for a modeling
and simulation scientist to use day-to-day and for sharing with a sponsor
to review.
Select type
of "regulatory" for a define document that conforms to
submission requirements set by regulatory authorities (e.g. FDA).
Note that x
is usually either a yspec
object or a yproj
object.
You can also pass in the full path to a specification document and
yspec will guess which format it is and render accordingly.
Because ...
are passed to render_define()
and render_fda_define()
,
it is important to review arguments to those functions as well. Specifically,
please note that the document title, author, and date can
be set, along with the name of the output document, the working document
build directory, and several other aspects of the document can be set
in the call to ys_document.
For all document types, the following latex
packages are required:
array
longtable
booktabs
fontenc
mathdesign
Make sure these packages are installed and available when trying to render a document.
render_define()
, render_fda_define()
## Not run:
ys_document(ys_help$spec())
ys_document(ys_help$spec(), type = "regulatory")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.