powered by
The purpose of the function create_hexlogo is to generate the hexagon logo of the tableHTML package.
create_hexlogo
tableHTML
create_hexlogo( save = TRUE, format = "html", file = "tableHTML_hexlogo.html", complete_html = FALSE, ... )
The hexagon logo of the tableHTML package as a tableHTML object.
The output will be shown in the Viewer pane, and can be saved either as an image or as an HTML.
A boolean when set to TRUE the logo will be saved in the specified format.
A character string to specify the format of the output, it accepts 'html', 'png', or 'jpeg'. Default is 'html'.
'html'
'png'
'jpeg'
A character string to specify the name and path to the new file. Should end with '.html', '.png', or '.jpeg', depending on the selected format.
'.html'
'.png'
'.jpeg'
Either TRUE or FALSE. Defaults to FALSE. If TRUE then the <html> and <body> tags are also added in the file.
Further parameters to pass to webshot.
The function create_hexlogo will generate the hexagon logo of the tableHTML package.
if (FALSE) { create_hexlogo(save = FALSE) create_hexlogo(format = 'jpeg', file = '~/exported_hexlogo.jpeg') }
Run the code above in your browser using DataLab