View source: R/learningChart.R
learningChart | R Documentation |
Make a GP Learning Chart. Will also run upload_assets()
when it's done.
learningChart(
WD = "?",
caption = NA,
captionN = FALSE,
centralText = NA,
quotedTitle = NA,
centralTextSize = 3.5,
saveFile = TRUE,
destFolder,
fileName = "GP-Learning-Chart",
dpi = 200,
showPlot = TRUE,
...
)
WD |
working directory; default=getwd(); if "?" supplied, will invoke |
caption |
quoted text you want to go at the bottom of the chart |
captionN |
T/F, add the range of the number of standards per grade used to make the plot to caption? default=FALSE |
centralText |
specify grades the chart is for; by default pulls most common gradeBand from compiledAlignment (e.g. "grades |
quotedTitle |
the quoted title used to attribute the learning chart (e.g. Knowledge and skills taught by 'quotedTitle') |
centralTextSize |
multiplier for font size of centralText |
saveFile |
T/F, save file or just print to screen? |
destFolder |
where do you want to save the folder; by default in the "assets/learningPlots" folder, 1 level up from the working directory |
fileName |
expects "somefilename" (file extension will be ignored) |
dpi |
what resolution would you like the output in dots per inch? 300 by default |
showPlot |
plot to screen or just save to file? default=T |
... |
other arguments passed to |
the learning chart plot object (grid format); Result can be plotted with grid::grid.draw(result). The chart file is saved to assets/GP_Learning_Chart.png by default
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.