locmap: Locmap management

Description Usage Arguments Details Value Structure of location maps Examples

Description

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

Usage

1
2
3
locread(file, name = "", desc = "", bs = numeric(), ...)

locwrite(locmap, file, ...)

Arguments

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

Details

Value

locread a list with information about a location map

locwrite No return value

Structure of location maps

Each element in the list locmaps is a location map that contains the following fields

Examples

1
2
3
4
# 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

visualFields documentation built on Aug. 17, 2021, 1:06 a.m.