View source: R/PLOT_VFTimeSeries.R
PlotVfTimeSeries | R Documentation |
Plots a time series at each location of the Humphrey Field Analyzer-II visual field .
PlotVfTimeSeries( Y, Location, Time, main = "Visual field sensitivity time series \n at each location", xlab = "Time from first visit (days)", ylab = "Sensitivity (dB)", line.col = "red", line.reg = TRUE, line.type = 1 )
Y |
a time series variable to be plotted. |
Location |
a variable corresponding to the location on the visual field that the time series variable was observed. |
Time |
a variable corresponding to the time that the time series variable was observed. |
main |
an overall title for the plot. |
xlab |
a title for the x axis. |
ylab |
a title for the y axis. |
line.col |
color for the regression line, either character string corresponding to a color or a integer (default = "red"). |
line.reg |
logical, determines if there are regression lines printed (default = TRUE). |
line.type |
integer, specifies the type of regression line printed (default = 1). |
PlotVfTimeSeries
is used in the application of glaucoma progression.
In each cell is the observed DLS at each location over visits, with the red line
representing a linear regression trend.
Samuel I. Berchuck
data(VFSeries) PlotVfTimeSeries(Y = VFSeries$DLS, Location = VFSeries$Location, Time = VFSeries$Time, main = "Visual field sensitivity time series \n at each location", xlab = "Days from baseline visit", ylab = "Differential light sensitivity (dB)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.