edf.plot | R Documentation |
This creates a scatterplot of fixations read from an EDF file.
edf.plot(EDFfile = NULL, fixdata = NULL, outfile = NULL, outlier.rm = F, res = NULL, flip = T, theme = "black", crosshairs = T, plot.title = "")
EDFfile |
path to an EDF file. If you have already-loaded data, leave this as NULL |
fixdata |
optionally you can provide a data frame of already imported fixation data
from |
outfile |
if provided, it will save the plot as a PDF with this file name |
outlier.rm |
logical specifying whether to remove outlier fixations (>3SDs from mean) |
res |
array specifying resolution of monitor. Only this region will be plotted. |
flip |
logical indicating whether to flip the y axis so origin is in upper-left (defualt=TRUE). |
theme |
either "black" or "white" specifying the plot theme (yellow on black or black on white) |
crosshairs |
logical whether to plot crosshairs over the median x and y coordinates (dotted red lines) |
plot.title |
title to put at the top of the plot |
Jason Hubbard, hubbard3@uoregon.edu
## Not run: edf.plot('/path/to/edffile.edf',outfile='~/Desktop/edfplot.pdf',res=c(1024,768)) #just plot, don't save the PDF edf.plot('/path/to/edffile.edf',res=c(1024,768),theme='white',plot.title='Fixations') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.