Description Usage Arguments Value Author(s) Examples
Create a docx object with a specific template and informations already inserted
1 2 3 4 |
template |
either 'gerc', 'urc', or 'cephepi' |
title |
Study title (character string) |
acronym |
Study acronym (character string) |
version |
Version number (character string) |
npromo |
Promotion number (character string, not used with gerc template) |
nct |
Clinical trial number (character string, not used with gerc template) |
invest |
Name of the principal investigator (character string) |
biostat |
Name of the biostatistician (character string) |
methodo |
Name of the methodologist (character string, not used with gerc template) |
date_lastmodif |
Date of last modification of the document (character string) |
date_freez |
Date of data freezing (character string) |
date_update |
Date of last history description update (character string) |
history |
History description. A list of length 1 (min) to 7 (max), each element being a list of four elements: list(version = "Version number", author = "Author", description = c("Description 1", "Description 2"), date = "Date") |
a FlexTable object
David Hajage
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 29 | ## Not run:
library(biostat2)
library(ReporteRs)
doc <- create.report(template = 'urc',
title = 'A great study',
acronym = 'GREAT',
version = '1.3',
npromo = 'AOR17123',
nct = 'NCT123456',
invest = 'Casimir',
biostat = 'Goldorak',
methodo = 'Actarus',
date_lastmodif = '23/03/1979',
date_freez = '22/03/1979',
date_update = '24/03/1979',
history = list(
list(version = '1',
author = 'Goldorak',
description = c('First description',
'Primary outcome analysis'),
date = '28/03/1979'),
list(version = '1.3',
author = 'Goldorak',
description = 'Add forgotten things',
date = '29/03/1979')
)
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.