View source: R/graph_line_threshold.R
make_line_threshold_plot | R Documentation |
Creates a line threshold plot
make_line_threshold_plot( pd, x, dataVal, dataCIL = NULL, dataCIU = NULL, L1, L2, L3, L4, allPoints = TRUE, title = NULL, pointShift = 0, xShift = 0, weekNumbers = FALSE, step = FALSE, GetCols, legend_position = "right" )
pd |
A data.frame |
x |
Name of the column in 'pd' that is the 'x' value |
dataVal |
Name of the column in 'pd' that is the 'y' value |
dataCIL |
Name of the column in 'pd' that is the value of the lower confidence interval of the 'y' value |
dataCIU |
Name of the column in 'pd' that is the value of the upper confidence interval of the 'y' value |
L1 |
Name of the column in 'pd' that is the value of the first threshold |
L2 |
Name of the column in 'pd' that is the value of the second threshold |
L3 |
Name of the column in 'pd' that is the value of the third threshold |
L4 |
Name of the column in 'pd' that is the value of the fourth threshold |
allPoints |
Should all points be displayed on the line? |
title |
Title of the graph |
pointShift |
How much will the points be shifted? |
xShift |
How much will the x values be shifted? |
weekNumbers |
Display week numbers? |
step |
Step graph or normal line graph? |
GetCols |
Vector of colours |
legend_position |
a |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.