flextable (version 0.5.6)

plot.flextable: plot a flextable

Description

save a flextable as an image and display the result in a new R graphics window.

Usage

# S3 method for flextable
plot(x, zoom = 2, expand = 2, ...)

Arguments

x

a flextable object

zoom, expand

parameters used by webshot function.

...

additional parameters sent to plot function

See Also

Other flextable print function: as_raster, docx_value, format.flextable, htmltools_value, knit_print.flextable, print.flextable, save_as_html, save_as_image

Examples

Run this code
# NOT RUN {
ft <- flextable( head( mtcars ) )
ft <- autofit(ft)
# }
# NOT RUN {
if( require("webshot") ){
  plot(ft)
}
# }

Run the code above in your browser using DataCamp Workspace