| locread | R Documentation |
Functions to handle location maps, which are lists with x and y
coordinates and other importan information about the visual field test
locations. Check section Structure of location maps below for details
locread(file, name = "", desc = "", bs = numeric(), ...)
locwrite(locmap, file, ...)
file |
the name of the file which the data are to be read from |
name |
to give the location map |
desc |
brief description for the location map |
bs |
locations that should be excluded from statistical analysis because of their proximity to the blind spot |
... |
arguments to be passed to or from methods |
locmap |
location map from which to get coordinates to export as csv file |
locread reads a csv file with location map data
locwrite writes a csv file with location map data
locread a list with information about a location map
locwrite No return value
Each element in the list locmaps is a location map that
contains the following fields
name descriptive name
desc brief description
coord coordinates of the visual field locations
bs if not empty, the locations that ought to be removed
for statistical analysis due to their proximity to the blind spot
# write and read location map
tf <- tempfile("locmap")
locwrite(getlocmap(), file = tf) # save current locmap in a temp file
print(locread(tf, name = "name", desc = "desc", bs = c(1, 2))) # read the temp file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.