Publications by Duong Tran
Insert Watermark to a PNG Image
Introduction It is common Watermarks are wished for on documents and images etc. This Shiny application adds a selected Watermark to a PNG image. Figure 1 Figure 2 Figure 3 ...
207 sym 3 img
DocumentTransparent Background Maker
Introduction This application detects a specified colour on a PNG image and make that colour transparent. Often you received graphs with a white background and sometime you wish to make this transparent. A transparent image is necessary if you wish to overlay it on top of a background image. Note you can enter a colour as the hex code (eg white =...
708 sym 4 img
Truchet Tiles 2
Introduction I my previous post, I presented Truchet Tiles created from the truchet R package - by combining these tiles as shown here, the images become even more striking and aesthetically pleasing. Tile 1 Tile 2 Tile 3 Tile 4 Tile 5 Tile 6 Tile 7 Tile 8 Tile 9 Tile 10 ...
410 sym 10 img
Technical Analysis with R
Introduction These are Technical Analysis charts created from the R quantmod package; the plots, then arranged by the annotation_custom function from the ggplot2 package. These were then saved in a PDF file of multiple pages as shown below for easy review. Note: This technique can be ideal for patients profiling report and alike. Charts 1 Chart...
388 sym 4 img
Daily Stock Prices Plots with ggplot2
Introduction These plots were created from ggplot2 and the purpose of this is to identify possible trends among stock prices. That is - does a particular group of stocks tend move in tandem; why some stocks surge at a particular point; does their prices affected by economic and political crisis etc. By studying these historical prices data one ma...
770 sym 3 img
Clinical Reporting R Packages
Introduction There are now a number of R packages that are specifically for Clinical Reporting. The following plots show their daily downloads - an indication of their popularity. I’ve also included two of the most popular packages - dplyr and ggplot2 for some perspective of the R’s community. Set 1 Set 2 ...
323 sym 3 img
Colour Palettes
I generated, and am sharing some colour palettes that I like. Colours are an important factor in visualisation; a ‘better’ scheme can draw more attraction to yours works. Set 1 ...
187 sym 1 img
Calling R from Windows SAS
Introduction There are two methods for calling R from SAS; in batch mode as describe in (Holland, Wei) and via the PROC IML interface provides by SAS. This tutorial will only go through the setting up for the second method, follows by some usage examples. Requirements Check that SAS and R are installed on the same machine (server), then run (PRO...
2169 sym R (2286 sym/4 pcs) 1 img
Clinincal Graphs with ggplot2
Introduction Hi I am Duong, a SAS programmer with many years of experience in the Pharmaceutical industry and I have been teaching myself R in the past year. I have produced some graphs with the ggplot2 package and now would like to share them with my thoughts and experiences. If you are about to set off a similar journey, these results and thoug...
3577 sym 8 img