| setdefaults {visualFields} | R Documentation |
Settings in the visualField environment
Description
Functions to set and get settings in the visualField environment
Usage
setdefaults()
getnv()
setnv(nv)
getgpar()
setgpar(gpar)
getlocmap()
setlocmap(locmap)
getlocini()
setlocini(locini = 11)
getvfcols()
Arguments
nv |
normative values to to set in the visualFields environment |
gpar |
structure with all graphical parameters |
locmap |
location map to to set in the visualFields environment |
locini |
column from where to start reading the visual field data |
Details
setdefaultssets the default location map, normative value and graphical parameters visualFields environmentsetnvsets normative values in the visualFields environmentgetnvgets current normative values from the visualFields environmentsetlocmapsets a location map in the visualFields environmentgetlocmapgets the current location map from the visualFields environmentsetgparsets graphical parameters in the visualFields environmentgetgpargets current graphical parameters from the visualFields environmentsetlocinisets the column where visual field data start in the visualFields environmentgetlocinigets the column where visual field data starts from the visualFields environmentgetlocinigets the column where visual field data starts from the visualFields environmentgetvfcolsgets all the columns with visual field data
Value
setdefaults: No return value
getnv: Returns the normative value currently in used by visualFields
setnv: No return value
getgpar: Returns the graphical parameters currently in used by visualFields
setgpar: No return value
getlocmap: Returns the location map currently in used by visualFields
setlocmap: No return value
getlocini: Returns the column where visual field data starts
setlocini: No return value
getvfcols: Returns the columns with visual field data
Examples
# get and set normative values
getnv()$info$name # print name of set normative values
setnv(normvals$iowa_PC26_pw_cps) # set pointwise normative values
getnv()$info$name # print name of set normative values
setdefaults() # return back to defaults
# get and set a location map
getlocmap()$name # name of set normative values
setlocmap(locmaps$p30d2) # set the 30-2 location map
getlocmap()$name # name of set normative values
setdefaults() # return back to defaults
# get and set a graphical parameters
getgpar()$tess$xlim # limits of x axis
setgpar(gpars$pPeri) # set graphical parameters for the Peripheral test
getgpar()$tess$xlim # limits of x axis
setdefaults() # return back to defaults
# get and set initial column for visual field data
getlocini()
getvfcols() # get columns with visual fields data
setlocini(15)
getvfcols() # get columns with visual fields data
setdefaults() # return back to defaults