includeMap {EpiReport} | R Documentation |
Including PNG map in the 'Microsoft Word' template
Description
Function including the disease-specific PNG map in the 'Word' document at the specific bookmark location.
Usage
includeMap(
disease,
year,
reportParameters,
index,
pathPNG,
doc,
pop,
namePNGsuffix,
unit,
mapBookmark,
captionBookmark
)
Arguments
disease |
character string, disease code (default |
year |
numeric, year to produce the graph for (default |
reportParameters |
dataframe, dataset including the required parameters
for the graph and report production (default |
index |
integer, figure number |
pathPNG |
character string, full path to the folder containing the maps in PNG
(default 'maps' folder included in the package |
doc |
'Word' document (see |
pop |
character string, label of the type of population to use in the caption
(e.g. |
namePNGsuffix |
character string, suffix of the PNG file name of the map
(i.e. |
unit |
character string, label of the unit used in the caption
(e.g. |
mapBookmark |
character string, label of the bookmark where to add the map in the 'Word' document |
captionBookmark |
character string, label of the bookmark where to add the caption in the 'Word' document |
Value
'Word' doc
See Also
Global function: getMap