EndoBasicGraph | R Documentation |
This creates a basic graph using the template specified in theme_Publication. It takes a numeric column and plots it against any non-numeric x axis in a ggplot
EndoBasicGraph(dataframe, xdata, number)
dataframe |
dataframe |
xdata |
The x column |
number |
The numeric column |
Myplot This is the final plot
Myplot
Other Data Presentation helpers:
scale_colour_Publication()
,
scale_fill_Publication()
,
theme_Publication()
# This function plots numeric y vs non-numeric x # Get some numeric columns e.g. number of biopsies and size Mypath$Size <- HistolBxSize(Mypath$Macroscopicdescription) Mypath$NumBx <- HistolNumbOfBx(Mypath$Macroscopicdescription, "specimen") Mypath2 <- Mypath[, c("NumBx", "Size")] EndoBasicGraph(Mypath, "Size", "NumBx")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.