View source: R/visualisations.R
checkVizFormat | R Documentation |
Checks the format of the data set quick visualisation
checkVizFormat( df, idColumn = "PATIENT", blockColumn = "block", dataColumn = "measure", dateColumn = "date.measure", prescriptionColumn = "prescription" )
df |
the response data frame. It needs to contain binary prescription information. |
idColumn |
name of ID column: default is PATIENT |
blockColumn |
name of the block column: default is block |
dataColumn |
name of the data column: default is measure |
dateColumn |
name of date column: default is date.measure. This column has to be of class Date |
prescriptionColumn |
name of the prescription column: default is prescription (it has to be binary) |
NULL if there are format problems, otherwise a data frame that has a PATIENT, VISIT, MEASURE, BLOCK and PRESCRIPTION column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.