Publications by Duong Tran

Use Your Favourite Program Editor

05.12.2021

...

9 sym 4 img

Convert SVG to PNG/PDF

02.01.2022

Introduction One of my previous posted was a Shiny App that converts PDF to PNG/JPEG formats; similarly this App converts SVG to PNG/PDF formats. Since SVG is a vector based format, you can convert it to PNG in ‘any’ resolutions; the higher the chosen number of pixels, the higher the resolution. The App will indicate the source aspect ratio. ...

711 sym 3 img

Custom Annotate SVG Images with ggplot2

03.01.2022

...

10 sym 5 img

SVG Text Generator

07.01.2022

...

8 sym 3 img

Embed Images in a PROC REPORT Table

01.02.2022

Introduction Proc Report in SAS is well known for presenting static text tables; less so for its capability of presenting embed images. I think is because the lack of examples on its ‘full’ potential! A while ago I posted an example done with the flextable package in R and wonder how to do similar in SAS. The table below now is such an exampl...

670 sym 2 img

Proc Report Header and Footer Lines

25.03.2022

Introduction This is a deficit for those that work in clinical reporting will no doubt be familiar with. That is Proc Report in SAS does not automatically put in the top header and footer lines. You typically do this with the “put” statement within a compute block, specifying their lengths. Straight forward enough until you add, widen the col...

1528 sym R (1846 sym/1 pcs) 5 img

Mondrian's Art with Proc Report

23.02.2022

Introduction These are known as Mondrian’s art, after the Dutch painter Piet Mondrian. Somehow just straight lines and a few colours can produce aesthetics pleasing images! I used SAS Proc Report to produce these images - not the best tool for this but I want to demonstrate that it can be done! You can make it more complex (i.e. more cells) if...

626 sym 4 img

Chess Board and Pieces with Proc Report

15.02.2022

Introduction You would not have guessed if were’nt told, but these two images were actually created entirety from SAS Proc Report ODS RTF, without any post-processing! The board and chess pieces’ colours can be changed easily. I left these images in RTF this time but it’s easy to convert them to PNG etc. Refer to my earlier post (Proc Repor...

513 sym 2 img

DocumenEmbed Images with Proc Report

10.02.2022

Introduction This is a follow on from my last post (Proc Report RTF to PNG) - again using Proc Report. Here, I am demonstrating by removing some border lines, you get the effect of a two-dimensional panel plot! Note: the text rotation was achieved by post-processing the RTF file. Figure 1 ...

300 sym 1 img

Proc Report RTF to PNG

10.02.2022

Introduction Why would you do this? My last post shows an embedded image in an RTF format, produced from SAS Proc Report. A natural follow on question would be, can it be in PNG, since such reports are more useful in PNG than RTF. That is it’s easier to insert a PNG into other documents etc. We wish this process of creating the PNG to be reprod...

992 sym R (355 sym/1 pcs) 1 img