patientProfileR
is an R package that simplifies making graphical patient profiles. This package uses the powerful ggplot2 package to create patient profiles in a couple of steps. Users can easily extend the plots using ggplot2.
patientProfileR
makes the data do most of the work. The program plots each row of a subject's data in a particular way. Specifically, the dataset must contain the
| geom | x | xend | y | color | group | shape | fill | size | alpha | linetype | |:--------|-----|------|----|-------|-------|-------|------|------|-------|----------| | 'segment' |✔ |✔|✔|✔|✔| |✔|✔|✔ | | | | 'line' |✔| |✔|✔|✔|✔|✔|✔ | ✔| | | 'area' |✔|✔| |✔| | || | ✔| | | 'vline' |✔| | |✔| | || | |✔ |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.